From: Rickard Strandqvist Date: Sun, 4 Jan 2015 00:11:21 +0000 (+0100) Subject: mfd: omap-usb-host: Remove some unused functions X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5dd6eeb2c0c3f5e1364b51a11a7e47629655b6ff;p=linux-beck.git mfd: omap-usb-host: Remove some unused functions Removes some functions that are not used anywhere: usbhs_readb() usbhs_writeb() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 04cd54dd507c..1d924d1533c0 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -129,16 +129,6 @@ static inline u32 usbhs_read(void __iomem *base, u32 reg) return readl_relaxed(base + reg); } -static inline void usbhs_writeb(void __iomem *base, u8 reg, u8 val) -{ - writeb_relaxed(val, base + reg); -} - -static inline u8 usbhs_readb(void __iomem *base, u8 reg) -{ - return readb_relaxed(base + reg); -} - /*-------------------------------------------------------------------------*/ /**