projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b53a19
)
USB: musb: Remove unused inline function
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 15 Jul 2020 03:12:04 +0000
(11:12 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 15 Jul 2020 14:48:10 +0000
(16:48 +0200)
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>
drivers/usb/musb/musb_host.h
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_host.h
b/drivers/usb/musb/musb_host.h
index 32336571f05cff8c80265d7d21097ec7fa7aa4d3..4804d4d85c1540110e0ac201870683465590f9fc 100644
(file)
--- 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)
{