Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dd6eeb2 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Lee Jones
Browse files

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: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent de1e23f8
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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);
}

/*-------------------------------------------------------------------------*/

/**