spi/bcm63xx: Remove the unused function bcm_spi_readw()
Subsystems (2)
PATCH 1/1 spi/bcm63xx: Remove the unused function bcm_spi_readw()
The function bcm_spi_readw is defined in the spi-bcm63xx.c file, but not called elsewhere, so remove this unused function.
drivers/spi/spi-bcm63xx.c:160:19: warning: unused function 'bcm_spi_readw'.
--- drivers/spi/spi-bcm63xx.c | 10 ---------- 1 file changed, 10 deletions(-)
drivers/spi/spi-bcm63xx.c +0 -10
@@ -157,16 +157,6 @@ static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs,return readb (bs->regs + bs->reg_offsets[offset]); } -static inline u16 bcm_spi_readw (struct bcm63xx_spi *bs, -unsigned int offset) -{ -#ifdef CONFIG_CPU_BIG_ENDIAN -return ioread16be (bs->regs + bs->reg_offsets[offset]); -#else -return readw (bs->regs + bs->reg_offsets[offset]); -#endif -} -static inline void bcm_spi_writeb (struct bcm63xx_spi *bs,u8 value,unsigned int offset) {
Signature · 1 line
2.20.1.7.g153144c
Mark Brown
maintainerQuoted 6 lines · Jiapeng Chong
The function
bcm_spi_readwis defined in thespi-bcm63xx.cfile, but not called elsewhere, so remove this unused function.
drivers/spi/spi-bcm63xx.c:160:19: warning: unused function 'bcm_spi_readw'.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi/bcm63xx: Remove the unused function bcm_spi_readw()
commit: f58ab0fa7a23e5e1f55c0c1df266bb0daf1c19cc
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark