diff mbox series

USB: remove the unused struct hcd_timeout definition

Message ID 20181109183903.21607-1-hch@lst.de (mailing list archive)
State Mainlined
Commit 4c96499c39e31b5a12f37c2396a5f81d1b6be1ab
Headers show
Series USB: remove the unused struct hcd_timeout definition | expand

Commit Message

Christoph Hellwig Nov. 9, 2018, 6:39 p.m. UTC
No users of this type anywhere in the tree.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/usb/hcd.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Greg KH Nov. 9, 2018, 7:07 p.m. UTC | #1
On Fri, Nov 09, 2018 at 07:39:03PM +0100, Christoph Hellwig wrote:
> No users of this type anywhere in the tree.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/usb/hcd.h | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
> index 97e2ddec18b1..7dc3a411bece 100644
> --- a/include/linux/usb/hcd.h
> +++ b/include/linux/usb/hcd.h
> @@ -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
diff mbox series

Patch

diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 97e2ddec18b1..7dc3a411bece 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -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;
-};
-
 /*-------------------------------------------------------------------------*/