* [PATCH] bcma: remove unused function
@ 2021-04-14 6:39 Jiapeng Chong
2021-04-18 6:37 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2021-04-14 6:39 UTC (permalink / raw)
To: zajec5; +Cc: linux-wireless, linux-kernel, Jiapeng Chong
Fix the following clang warning:
drivers/bcma/driver_mips.c:55:20: warning: unused function
'mips_write32' [-Wunused-function].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
drivers/bcma/driver_mips.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c
index 87760aa..12aca34 100644
--- a/drivers/bcma/driver_mips.c
+++ b/drivers/bcma/driver_mips.c
@@ -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;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bcma: remove unused function
2021-04-14 6:39 [PATCH] bcma: remove unused function Jiapeng Chong
@ 2021-04-18 6:37 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2021-04-18 6:37 UTC (permalink / raw)
To: Jiapeng Chong; +Cc: zajec5, linux-wireless, linux-kernel, Jiapeng Chong
Jiapeng Chong <jiapeng.chong@linux.alibaba.com> wrote:
> Fix the following clang warning:
>
> drivers/bcma/driver_mips.c:55:20: warning: unused function
> 'mips_write32' [-Wunused-function].
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Patch applied to wireless-drivers-next.git, thanks.
fa84df705260 bcma: remove unused function
--
https://patchwork.kernel.org/project/linux-wireless/patch/1618382354-866-1-git-send-email-jiapeng.chong@linux.alibaba.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-18 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 6:39 [PATCH] bcma: remove unused function Jiapeng Chong
2021-04-18 6:37 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).