USB: drop redundant references
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | USB: cypress_cy7c63: drop redundant device referencedrivers/ | +1 | 0 replies | |
| 2/5 | USB: cytherm: drop redundant device referencedrivers/ | +1 | 0 replies | |
| 3/5 | USB: ljca: drop redundant interface referencedrivers/ | +5 | 1 reply | |
| 4/5 | USB: trancevibrator: drop redundant device referencedrivers/ | +1 | 0 replies | |
| 5/5 | USB: usbsevseg: drop redundant device referencedrivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Sakari Ailus |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] USB: drop redundant references
Driver core holds a reference to the USB interface and its parent USB device while the interface is bound to a driver and there is no need to take additional references unless the structures are needed after disconnect.
Drop redundant references to reduce cargo culting, make it easier to spot drivers where an extra reference is needed, and reduce the risk of memory leaks when drivers fail to release them.
Johan
Johan Hovold (5):
USB: cypress_cy7c63: drop redundant device reference
USB: cytherm: drop redundant device reference
USB: ljca: drop redundant interface reference
USB: trancevibrator: drop redundant device reference
USB: usbsevseg: drop redundant device reference
drivers/usb/misc/cypress_cy7c63.c | 4 +--- drivers/usb/misc/cytherm.c | 4 +--- drivers/usb/misc/trancevibrator.c | 3 +-- drivers/usb/misc/usb-ljca.c | 15 +++++---------- drivers/usb/misc/usbsevseg.c | 3 +-- 5 files changed, 9 insertions(+), 20 deletions(-)
Signature · 1 line
2.52.0