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)
commit597c338f0a6012e1360b7c71797b03438ff48fab
tree9cdc3b5adf4d356e4c51364312e73f03d8eeaad6
parentf118a39bfec6eff3ab1c1720fd734df62e012150
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