OSDN Git Service

wifi: ath10k: remove unused ath10k_get_ring_byte function
authorTom Rix <trix@redhat.com>
Wed, 22 Mar 2023 12:28:55 +0000 (08:28 -0400)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 24 Mar 2023 14:52:57 +0000 (16:52 +0200)
commit9fc093b756f64788ce33e3484f6f59a169704759
tree2ab9c2d6cbc6f3ea2206788132318f2adb6529c7
parentb6b88111c0dbcef04cd0e0bafd646e4c09728302
wifi: ath10k: remove unused ath10k_get_ring_byte function

clang with W=1 reports:

drivers/net/wireless/ath/ath10k/ce.c:88:1: error:
  unused function 'ath10k_get_ring_byte' [-Werror,-Wunused-function]
ath10k_get_ring_byte(unsigned int offset,
^
This function is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230322122855.2570417-1-trix@redhat.com
drivers/net/wireless/ath/ath10k/ce.c