* [PATCH] USB: remove the unused struct hcd_timeout definition
@ 2018-11-09 18:39 Christoph Hellwig
2018-11-09 19:07 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2018-11-09 18:39 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
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;
-};
-
/*-------------------------------------------------------------------------*/
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] USB: remove the unused struct hcd_timeout definition
2018-11-09 18:39 [PATCH] USB: remove the unused struct hcd_timeout definition Christoph Hellwig
@ 2018-11-09 19:07 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2018-11-09 19:07 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-usb, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-09 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 18:39 [PATCH] USB: remove the unused struct hcd_timeout definition Christoph Hellwig
2018-11-09 19:07 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).