staging: wlan-ng: remove undefined function
authorCalvince Otieno <calvncce@gmail.com>
Mon, 16 Oct 2023 07:43:00 +0000 (10:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Oct 2023 15:53:38 +0000 (17:53 +0200)
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@gmail.com>
Link: https://lore.kernel.org/r/ZSzphFeckE7dM5g/@lab-ubuntu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211netdev.h

index f5186380b6290aca368151f9af6261a13b02fc55..485f2c697f5f7e084e9d9b563fb9f38567c2414c 100644 (file)
@@ -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