summaryrefslogtreecommitdiff
path: root/lib/hexdump.c
diff options
context:
space:
mode:
authorPierre-Yves Kerbrat <pkerbrat@free.fr>2017-03-01 00:02:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 07:27:41 +0300
commitdd1203c91bd648a31b872e74df8f2003df2c785c (patch)
tree91d1b0006e23821d5fd21fb52f16141c461e5384 /lib/hexdump.c
parent4d72e35da22857b253d0807d0c7a54c3cabf19b5 (diff)
downloadlinux-dd1203c91bd648a31b872e74df8f2003df2c785c.tar.xz
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 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions