staging: unisys: fix sig_read_data and sig_read_data functions
authorPrarit Bhargava <prarit@redhat.com>
Tue, 5 May 2015 22:36:19 +0000 (18:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:26:01 +0000 (15:26 +0200)
commita4ed0ba9afd39b41066c4ead12a2e4e731daee4a
tree9abfc833dea06c863a470793b734a4b1b8baedff
parent69141bb8eb2edc2f41da1979fe8ae8a99d093f8d
staging: unisys: fix sig_read_data and sig_read_data functions

The sig_read_data() and sig_write_data() functions are involved in 2 steps
of calls.  They really don't need to be and this makes for much simpler
code.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchannel.c