summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPierre-Yves Kerbrat <pkerbrat@free.fr>2017-02-28 22:02:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 05:27:41 +0100
commitdd1203c91bd648a31b872e74df8f2003df2c785c (patch)
tree91d1b0006e23821d5fd21fb52f16141c461e5384 /arch
parentUSB: misc: ldusb: changed '*' location to fit coding Style (diff)
downloadlinux-dd1203c91bd648a31b872e74df8f2003df2c785c.tar.xz
linux-dd1203c91bd648a31b872e74df8f2003df2c785c.zip
usb: storage: karma: remove useless variable
Remove the useless variable 'partial' storing the actual length transferred. Nothing was done with it, so simply get rid of it as usb_stor_bulk_transfer_buf can handle having NULL instead. This also fixes the following sparse issues (-Wtypesign): drivers/usb/storage/karma.c:122:51: warning: incorrect type in argument 5 (different signedness) drivers/usb/storage/karma.c:122:51: expected unsigned int *act_len drivers/usb/storage/karma.c:122:51: got int *<noident> drivers/usb/storage/karma.c:127:52: warning: incorrect type in argument 5 (different signedness) drivers/usb/storage/karma.c:127:52: expected unsigned int *act_len drivers/usb/storage/karma.c:127:52: got int *<noident> Signed-off-by: Pierre-Yves Kerbrat <pkerbrat@free.fr> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions