[PATCH] staging: wlan-ng: remove undefined function
From: Calvince Otieno
Date: Mon Oct 16 2023 - 03:43:10 EST
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")
Signed-off-by: Calvince Otieno <calvncce@xxxxxxxxx>
---
drivers/staging/wlan-ng/p80211netdev.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/p80211netdev.h b/drivers/staging/wlan-ng/p80211netdev.h
index f5186380b629..485f2c697f5f 100644
--- a/drivers/staging/wlan-ng/p80211netdev.h
+++ b/drivers/staging/wlan-ng/p80211netdev.h
@@ -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
--
2.34.1