wifi: ipw2x00: remove unused _ipw_read16 function
authorTom Rix <trix@redhat.com>
Sun, 19 Mar 2023 13:54:18 +0000 (09:54 -0400)
committerKalle Valo <kvalo@kernel.org>
Fri, 31 Mar 2023 14:43:55 +0000 (17:43 +0300)
commitc7e39d70613c113b5ac667beeb3cacb242c6a4cb
treefc42a142042c8772ce6e28ba6d8b0d40ede1b52e
parentdf1875c4f345092716f1529d6e8c43e7fc7f250a
wifi: ipw2x00: remove unused _ipw_read16 function

clang with W=1 reports
drivers/net/wireless/intel/ipw2x00/ipw2200.c:381:19: error:
  unused function '_ipw_read16' [-Werror,-Wunused-function]
static inline u16 _ipw_read16(struct ipw_priv *ipw, unsigned long ofs)
                  ^
This function and its wrapping marco are not used, so remove them.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230319135418.1703380-1-trix@redhat.com
drivers/net/wireless/intel/ipw2x00/ipw2200.c