Skip to contentSkip to conversation

bcma: remove unused function

PATCH In review Jiapeng Chong 2 participants 2 messages Apr 14, 2021 – Apr 18, 2021 Broadcom specific amba driver (bcma)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcma: remove unused function

Fix the following clang warning:

drivers/bcma/driver_mips.c:55:20: warning: unused function 'mips_write32' [-Wunused-function].

---
 drivers/bcma/driver_mips.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/bcma/driver_mips.c +0 -7
index 87760aa..12aca34 100644
@@ -52,13 +52,6 @@ static inline u32 mips_read32(struct bcma_drv_mips *mcore,
 	return bcma_read32(mcore->core, offset);
 }
 
-static inline void mips_write32(struct bcma_drv_mips *mcore,
-				u16 offset,
-				u32 value)
-{
-	bcma_write32(mcore->core, offset, value);
-}
-
 static u32 bcma_core_mips_irqflag(struct bcma_device *dev)
 {
 	u32 flag;
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 7 lines · Jiapeng Chong

Fix the following clang warning:

drivers/bcma/driver_mips.c:55:20: warning: unused function 'mips_write32' [-Wunused-function].

Patch applied to wireless-drivers-next.git, thanks.

fa84df705260 bcma: remove unused function

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches