[PATCH 0/5] USB: drop redundant references

From: Johan Hovold

Date: Thu Mar 05 2026 - 06:15:54 EST


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(-)

--
2.52.0