Skip to contentSkip to conversation

USB: remove the unused struct hcd_timeout definition

PATCH In review Christoph Hellwig 2 participants 2 messages Nov 9, 2018 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: remove the unused struct hcd_timeout definition

No users of this type anywhere in the tree.

---
 include/linux/usb/hcd.h | 5 -----
 1 file changed, 5 deletions(-)
include/linux/usb/hcd.h +0 -5
index 97e2ddec18b1..7dc3a411bece 100644
@@ -235,11 +235,6 @@ static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus)
 	return container_of(bus, struct usb_hcd, self);
 }
 
-struct hcd_timeout {	/* timeouts we allocate */
-	struct list_head	timeout_list;
-	struct timer_list	timer;
-};
-
 /*-------------------------------------------------------------------------*/
 
 
maintainer
#1 lore raw
Quoted 12 lines · Christoph Hellwig

No users of this type anywhere in the tree.

---
 include/linux/usb/hcd.h | 5 -----
 1 file changed, 5 deletions(-)
include/linux/usb/hcd.h +0 -0
index 97e2ddec18b1..7dc3a411bece 100644

include/linux/usb/hcd.h static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) · line 242

Quoted 8 lines
include/linux/usb/hcd.h +0 -5
@@ -235,11 +235,6 @@ static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus)
 	return container_of(bus, struct usb_hcd, self);
 }
 
-struct hcd_timeout {	/* timeouts we allocate */
-	struct list_head	timeout_list;
-	struct timer_list	timer;
-};
-

Nice catch, now applied.

greg k-h