aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-07-15 11:12:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-15 16:48:10 +0200
commit258e858802cefbc59c5315f8893e99f8ffe117e6 (patch)
treefd897960f4ddc479f3b565f269f886ea454111b1 /drivers/usb/musb
parentUSB: sisusbvga: Fix a potential UB casued by left shifting a negative value (diff)
downloadwireguard-linux-258e858802cefbc59c5315f8893e99f8ffe117e6.tar.xz
wireguard-linux-258e858802cefbc59c5315f8893e99f8ffe117e6.zip
USB: musb: Remove unused inline function
It is never used, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20200715031204.17308-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_host.h b/drivers/usb/musb/musb_host.h
index 32336571f05c..4804d4d85c15 100644
--- a/drivers/usb/musb/musb_host.h
+++ b/drivers/usb/musb/musb_host.h
@@ -97,7 +97,6 @@ static inline void musb_host_tx(struct musb *musb, u8 epnum) {}
static inline void musb_host_rx(struct musb *musb, u8 epnum) {}
static inline void musb_root_disconnect(struct musb *musb) {}
static inline void musb_host_resume_root_hub(struct musb *musb) {}
-static inline void musb_host_poll_rh_status(struct musb *musb) {}
static inline void musb_host_poke_root_hub(struct musb *musb) {}
static inline int musb_port_suspend(struct musb *musb, bool do_suspend)
{