OSDN Git Service

wifi: ath10k: Remove the unused function shadow_dst_wr_ind_addr() and ath10k_ce_error...
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 15 Feb 2023 18:31:38 +0000 (20:31 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 17 Feb 2023 16:23:14 +0000 (18:23 +0200)
commit3c3ab8c9a29662ef25f8f62b8f118cd9b0eadd88
tree2ca7a872e4767979228fe2a26e37f409414674a7
parentdf8e8db22c25f3d0f75ee0c79342d4a0841f4757
wifi: ath10k: Remove the unused function shadow_dst_wr_ind_addr() and ath10k_ce_error_intr_enable()

The function shadow_dst_wr_ind_addr() and ath10k_ce_error_intr_enable()
are defined in the ce.c file, the code calling them has been removed,
so remove these unused functions.

Eliminate the following warnings:
drivers/net/wireless/ath/ath10k/ce.c:80:19: warning: unused function 'shadow_dst_wr_ind_addr'
drivers/net/wireless/ath/ath10k/ce.c:441:20: warning: unused function 'ath10k_ce_error_intr_enable'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4063
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230215014058.116775-1-yang.lee@linux.alibaba.com
drivers/net/wireless/ath/ath10k/ce.c