* [PATCH] wifi: ath10k: Remove the unused function ath10k_ce_shadow_src_ring_write_index_set()
@ 2022-12-19 13:20 Jiapeng Chong
2023-01-17 11:57 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-12-19 13:20 UTC (permalink / raw)
To: kvalo
Cc: davem, edumazet, kuba, pabeni, ath10k, linux-wireless, netdev,
linux-kernel, Jiapeng Chong, Abaci Robot
The function ath10k_ce_shadow_src_ring_write_index_set is defined in the
ce.c file, but not called elsewhere, so remove this unused function.
drivers/net/wireless/ath/ath10k/ce.c:212:1: warning: unused function 'ath10k_ce_shadow_dest_ring_write_index_set'.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3519
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
drivers/net/wireless/ath/ath10k/ce.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/ce.c b/drivers/net/wireless/ath/ath10k/ce.c
index 59926227bd49..c2f3bd35c392 100644
--- a/drivers/net/wireless/ath/ath10k/ce.c
+++ b/drivers/net/wireless/ath/ath10k/ce.c
@@ -208,14 +208,6 @@ ath10k_ce_shadow_src_ring_write_index_set(struct ath10k *ar,
ath10k_ce_write32(ar, shadow_sr_wr_ind_addr(ar, ce_state), value);
}
-static inline void
-ath10k_ce_shadow_dest_ring_write_index_set(struct ath10k *ar,
- struct ath10k_ce_pipe *ce_state,
- unsigned int value)
-{
- ath10k_ce_write32(ar, shadow_dst_wr_ind_addr(ar, ce_state), value);
-}
-
static inline void ath10k_ce_src_ring_base_addr_set(struct ath10k *ar,
u32 ce_id,
u64 addr)
--
2.20.1.7.g153144c
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] wifi: ath10k: Remove the unused function ath10k_ce_shadow_src_ring_write_index_set()
2022-12-19 13:20 [PATCH] wifi: ath10k: Remove the unused function ath10k_ce_shadow_src_ring_write_index_set() Jiapeng Chong
@ 2023-01-17 11:57 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2023-01-17 11:57 UTC (permalink / raw)
To: Jiapeng Chong
Cc: davem, edumazet, kuba, pabeni, ath10k, linux-wireless, netdev,
linux-kernel, Jiapeng Chong, Abaci Robot
Jiapeng Chong <jiapeng.chong@linux.alibaba.com> wrote:
> The function ath10k_ce_shadow_src_ring_write_index_set is defined in the
> ce.c file, but not called elsewhere, so remove this unused function.
>
> drivers/net/wireless/ath/ath10k/ce.c:212:1: warning: unused function 'ath10k_ce_shadow_dest_ring_write_index_set'.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3519
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
179340dd4b39 wifi: ath10k: Remove the unused function ath10k_ce_shadow_src_ring_write_index_set()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20221219132041.91418-1-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:[~2023-01-17 11:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-19 13:20 [PATCH] wifi: ath10k: Remove the unused function ath10k_ce_shadow_src_ring_write_index_set() Jiapeng Chong
2023-01-17 11:57 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®