]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: fix NULL comparison in destroy_controlvm_payload_info()
authorBenjamin Romer <benjamin.romer@unisys.com>
Mon, 16 Mar 2015 17:58:27 +0000 (13:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 20:53:53 +0000 (21:53 +0100)
commit5b22eb530a1e1ad97f37c5901545dc0621fb5a44
tree9cdc3b5adf4d356e4c51364312e73f03d8eeaad6
parent61363d6e0b07e9199755fd13872da9109d2efa22
staging: unisys: fix NULL comparison in destroy_controlvm_payload_info()

Just remove the NULL from the check and test the pointer directly.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c