]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitd98b15db376b9cc35f74fd2bd432b9fc287a5999
tree3be0fd604f63bd76796a35d477cb33a5c945a0c4
parente6599225db36bbdc991d1cc8fbfcacb24f86cdb5
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