projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e60875
)
bcma: remove unused function
author
Jiapeng Chong
<jiapeng.chong@linux.alibaba.com>
Wed, 14 Apr 2021 06:39:14 +0000
(14:39 +0800)
committer
Kalle Valo
<kvalo@codeaurora.org>
Sun, 18 Apr 2021 06:36:56 +0000
(09:36 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/1618382354-866-1-git-send-email-jiapeng.chong@linux.alibaba.com
drivers/bcma/driver_mips.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/driver_mips.c
b/drivers/bcma/driver_mips.c
index 87760aa60446e93e0e2f1f856a82366e87c75685..12aca34e8db0085b0e4efbcf5fc4caa5779116f6 100644
(file)
--- 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;