* [PATCH] staging: wlan-ng: remove undefined function
@ 2023-10-16 7:43 Calvince Otieno
0 siblings, 0 replies; only message in thread
From: Calvince Otieno @ 2023-10-16 7:43 UTC (permalink / raw)
To: gustavo, outreachy
Cc: Greg Kroah-Hartman, linux-staging, linux-kernel, Calvince Otieno,
Karl Relton, Dan Carpenter
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>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-16 7:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 7:43 [PATCH] staging: wlan-ng: remove undefined function Calvince Otieno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox