staging: unisys: don't copy to local variable
authorDavid Kershner <david.kershner@unisys.com>
Tue, 22 Aug 2017 17:27:22 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2017 22:12:52 +0000 (15:12 -0700)
commit727bb6485e1db639621eb3d96d7fb067b07810db
tree01b0a6ebb6c7655a636a08b98f1e3f4a4487ac30
parentf51963f54d9f5f82f721c6bbf8785a58d29d3fdd
staging: unisys: don't copy to local variable

Do the check with the values in the structure instead of copying them to
local variables.

Reviewed-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
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