staging: unisys: visorbus: Remove unneeded checks for valid variable addr
authorDavid Binder <david.binder@unisys.com>
Thu, 22 Dec 2016 16:09:00 +0000 (11:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:17:02 +0000 (15:17 +0100)
commit3e4273db10ee7bd1000a088f4c647cb993fc009c
tree6e8d480eb5c19b2252d6ae2c07670a8007eeee88
parent36309d3b105c650eb0398afd1675df30fb570e5d
staging: unisys: visorbus: Remove unneeded checks for valid variable addr

The 'retry' variable created in handle_command() is statically allocated,
and its address is never set to NULL. Therefore conditionals to verify
the validity of the retry variable's address are unnecessary.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c