]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: unisys: visorbus: don't need local variable cmd
authorDavid Kershner <david.kershner@unisys.com>
Wed, 27 Sep 2017 17:14:07 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:17:12 +0000 (11:17 +0200)
commit3f5a562b1e41140f439112f1a6e6aaf32eb19c12
treeb75775d254c5940de27cd98f0b8ecc69401d2e3d
parent977980ac59637f34228629658c05cb1aeb7eba60
staging: unisys: visorbus: don't need local variable cmd

The local variable cmd was just being used to dereference a field inside
of it. Get rid of the variable and just derefernce the parameter being
passed in.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c