staging: unisys: include: simplify spar_check_channel_client
authorDavid Kershner <[email protected]>
Fri, 17 Mar 2017 15:27:10 +0000 (11:27 -0400)
committerGreg Kroah-Hartman <[email protected]>
Tue, 21 Mar 2017 06:58:46 +0000 (07:58 +0100)
commitc4549595c9bbbc8354f89111f96221466a6809ec
tree8bc716e38a8f7a38718064de2e67044eff0c915e
parent3cda79c664dfdbbfc471a055ea64ece7407ae5a0
staging: unisys: include: simplify spar_check_channel_client

The function spar_check_channel_client shouldn't need to do
readq's, it is referencing a local copy of the channel
header. Simplify it to just access the fields directly.

Signed-off-by: David Kershner <[email protected]>
Reviewed-by: Tim Sell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/unisys/include/channel.h