]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/xenbus: Remove the unnecessary check.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 29 Sep 2011 17:16:17 +0000 (13:16 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 18:48:05 +0000 (14:48 -0400)
commit8a687d12b4b323fc8f632cf84baa9903a24331e0
treefa871baeba068cb73142c2cdc15d99f5560316bf
parent6013e08b0d84f0257709649f95afb2e1a141bf8c
xen/xenbus: Remove the unnecessary check.

.. we check whether 'xdev' is NULL - but there is no need for
it as the 'dev' check is done before. The 'dev' is embedded in
the 'xdev' so having xdev != NULL with dev being being checked
is not going to happen.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_probe_backend.c