diff options
author | Tom Rix <trix@redhat.com> | 2023-03-22 15:58:03 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-04-26 13:40:33 +0300 |
commit | 4363f2113d04db9bafcc79487050ee0c10875c5a (patch) | |
tree | d6a9e3d93ec0d46275564c9f34aca7ba36bc7bf4 /drivers/mfd | |
parent | 75c0a1b3fc1c09ed67d22235900cb7e762af1dfd (diff) | |
download | linux-4363f2113d04db9bafcc79487050ee0c10875c5a.tar.xz |
mfd: omap-usb-tll: Remove unused usbtll_readb() function
Clang with W=1 reports:
drivers/mfd/omap-usb-tll.c:128:18: error: unused function
'usbtll_readb' [-Werror,-Wunused-function]
static inline u8 usbtll_readb(void __iomem *base, u32 reg)
^
This function is not used so remove it.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230322125803.2570968-1-trix@redhat.com
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/omap-usb-tll.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c index 8ca4067da6cd..69cbc2097911 100644 --- a/drivers/mfd/omap-usb-tll.c +++ b/drivers/mfd/omap-usb-tll.c @@ -125,11 +125,6 @@ static inline void usbtll_writeb(void __iomem *base, u32 reg, u8 val) writeb_relaxed(val, base + reg); } -static inline u8 usbtll_readb(void __iomem *base, u32 reg) -{ - return readb_relaxed(base + reg); -} - /*-------------------------------------------------------------------------*/ static bool is_ohci_port(enum usbhs_omap_port_mode pmode) |