sisusb: remove dummy variables
authorJiri Slaby <jslaby@suse.cz>
Thu, 23 Jun 2016 11:34:25 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 16:04:48 +0000 (09:04 -0700)
commit3cc5be7739295ce00f5658c6f45c5c453412f708
tree2685658fb225d687d9029a221a0f87cc96fb0b39
parenta4bedd019ec9690c1e5c7105509a2ef52c5ae3e0
sisusb: remove dummy variables

bytes_written parameter of sisusb_copy_memory and sisusb_read_memory
is an out parameter, but its value is never used. So remove it and
pass a dummy variable down to sisusb_read_mem_bulk.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/misc/sisusbvga/sisusb_con.c
drivers/usb/misc/sisusbvga/sisusb_init.h