Skip to contentSkip to conversation

staging: wlan-ng: remove undefined function

PATCH New Calvince Otieno 1 participant 1 message Oct 16, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wlan-ng: remove undefined function

The function p80211wext_get_wireless_stats() is declared in the code but has neither been defined nor referenced.

It's definition was removed 13 years ago in the
commit cb3126e60ffc ("Staging: wlan-ng: Switch from wext to cfg80211")

---
 drivers/staging/wlan-ng/p80211netdev.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/wlan-ng/p80211netdev.h +0 -3
index f5186380b629..485f2c697f5f 100644
@@ -114,9 +114,6 @@ struct p80211_frmrx {
 	u32 decrypt_err;
 };
 
-/* called by /proc/net/wireless */
-struct iw_statistics *p80211wext_get_wireless_stats(struct net_device *dev);
-
 /* WEP stuff */
 #define NUM_WEPKEYS 4
 #define MAX_KEYLEN 32
Signature · 1 line
2.34.1