]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc22b3ed52404f1e8379a5d4ed8485401b52b65c1
tree9abfc833dea06c863a470793b734a4b1b8baedff
parent16be3aa87d6e40ec4a951e42b04db5a1be2f75a4
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