linux/drivers/usb/storage
Thorsten Blum 5195edb359 usb: storage: realtek_cr: Simplify residue calculation in rts51x_bulk_transport()
Simplify the calculation of 'residue' in rts51x_bulk_transport() and
avoid unnecessarily reassigning 'residue' to itself.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250828162623.4840-3-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-06 15:21:25 +02:00
..
Kconfig usb: collapse USB_STORAGE Kconfig comment 2024-12-04 16:08:42 +01:00
Makefile module: Convert default symbol namespace to string literal 2024-12-03 08:22:25 -08:00
alauda.c usb: storage: alauda: Use const for card ID array 2025-03-03 10:24:41 +01:00
cypress_atacb.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
datafab.c usb: storage: datafab: Use const for constant arrays 2025-03-03 10:24:41 +01:00
debug.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
debug.h
ene_ub6250.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
freecom.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
initializers.c usb: storage: initializers: Use const for constant array 2025-03-03 10:24:41 +01:00
initializers.h
isd200.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
jumpshot.c usb: storage: jumpshot: Use const for constant arrays 2025-03-03 10:24:41 +01:00
karma.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
onetouch.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
option_ms.c
option_ms.h
protocol.c
protocol.h
realtek_cr.c usb: storage: realtek_cr: Simplify residue calculation in rts51x_bulk_transport() 2025-09-06 15:21:25 +02:00
scsiglue.c SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
scsiglue.h
sddr09.c usb: storage: sddr09: Use const for constant arrays 2025-03-03 10:24:41 +01:00
sddr55.c usb: storage: sddr55: Use const for constant arrays 2025-03-03 10:24:41 +01:00
shuttle_usbat.c usb: storage: shuttle_usbat: Use const for constant array 2025-03-03 10:24:41 +01:00
sierra_ms.c
sierra_ms.h
transport.c usb: storage: transport: Use const for constant array 2025-03-03 10:24:41 +01:00
transport.h
uas-detect.h
uas.c SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
unusual_alauda.h
unusual_cypress.h
unusual_datafab.h
unusual_devs.h USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles 2025-08-17 12:13:36 +02:00
unusual_ene_ub6250.h
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_realtek.h
unusual_sddr09.h
unusual_sddr55.h
unusual_uas.h usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device 2025-05-21 13:09:45 +02:00
unusual_usbat.h
usb.c usb-storage: reject probe of device one non-DMA HCDs when using highmem 2025-05-05 13:22:39 -06:00
usb.h
usual-tables.c