diff options
author | Pawel Laszczak <pawell@cadence.com> | 2020-12-11 06:09:54 +0100 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-12-29 05:36:13 +0100 |
commit | 88171f67a2c15461d29942b0103d539f52367844 (patch) | |
tree | d167d380c6631487b1c0efb83b69876a7c70d35d /drivers/usb/cdns3/host-export.h | |
parent | usb: cdnsp: Removes some not useful function arguments (diff) | |
download | linux-88171f67a2c15461d29942b0103d539f52367844.tar.xz linux-88171f67a2c15461d29942b0103d539f52367844.zip |
usb: cdns3: Removes xhci_cdns3_suspend_quirk from host-export.h
Function xhci_cdns3_suspend_quirk is used only in host.c file.
We can make it as static and removes it from host-export.h.
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/cdns3/host-export.h')
-rw-r--r-- | drivers/usb/cdns3/host-export.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/cdns3/host-export.h b/drivers/usb/cdns3/host-export.h index fb8541b8adbc..cf92173ecf00 100644 --- a/drivers/usb/cdns3/host-export.h +++ b/drivers/usb/cdns3/host-export.h @@ -9,12 +9,9 @@ #ifndef __LINUX_CDNS3_HOST_EXPORT #define __LINUX_CDNS3_HOST_EXPORT -struct usb_hcd; - #if IS_ENABLED(CONFIG_USB_CDNS_HOST) int cdns_host_init(struct cdns *cdns); -int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd); #else @@ -24,10 +21,6 @@ static inline int cdns_host_init(struct cdns *cdns) } static inline void cdns_host_exit(struct cdns *cdns) { } -static inline int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd) -{ - return 0; -} #endif /* USB_CDNS_HOST */ |