]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit882cb36e8518d80530b452cc3f3b5aa1eeae2759
tree8bc716e38a8f7a38718064de2e67044eff0c915e
parent1a5c803ecba121af652e3edf070076ffa020ca59
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