OSDN Git Service

staging: unisys: include: simplify spar_check_channel_client
authorDavid Kershner <david.kershner@unisys.com>
Fri, 17 Mar 2017 15:27:10 +0000 (11:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
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 <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/channel.h