]> xenbits.xensource.com Git - xen.git/commit
tools/xenstored: Remove redundant check in socket_can_process()
authorJulien Grall <jgrall@amazon.com>
Thu, 24 Jun 2021 14:55:03 +0000 (15:55 +0100)
committerJulien Grall <jgrall@amazon.com>
Thu, 24 Jun 2021 14:55:49 +0000 (15:55 +0100)
commite87d8f60fa9b6eaa6a2357545a96e4fff05dbef0
tree9584a68d7bffcfc2075a56df43786635d4ea130a
parent190facdf877c8fc298dafa584f69e7aff8606c35
tools/xenstored: Remove redundant check in socket_can_process()

Commit 3adfb50315d9 ("tools/xenstored: Introduce a wrapper for
conn->funcs->can_{read, write}") consolidated the check
!conn->is_ignored in two new wrappers.

This means the check in socket_can_process() is now redundant. In
fact it should have been removed in orignal commit (as it was done
for the domain helpers).

Reported-by: Raphael Ning <raphning@amazon.com
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/xenstore/xenstored_core.c