]> git.baikalelectronics.ru Git - kernel.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 21:03:29 +0000 (17:03 -0400)
commit0625c30855b29944963f5a32e155871360fb6531
tree3be0fd604f63bd76796a35d477cb33a5c945a0c4
parent59083dbd7acefe9d77e673a339a24049a004eab6
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