summaryrefslogtreecommitdiff
path: root/drivers/staging/octeon/ethernet-rgmii.c
diff options
context:
space:
mode:
authorDavid Binder <david.binder@unisys.com>2016-12-22 11:09:00 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-03 15:17:02 +0100
commit3e4273db10ee7bd1000a088f4c647cb993fc009c (patch)
tree6e8d480eb5c19b2252d6ae2c07670a8007eeee88 /drivers/staging/octeon/ethernet-rgmii.c
parent36309d3b105c650eb0398afd1675df30fb570e5d (diff)
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>
Diffstat (limited to 'drivers/staging/octeon/ethernet-rgmii.c')
0 files changed, 0 insertions, 0 deletions