summaryrefslogtreecommitdiffstats
path: root/include/net/iw_handler.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-07 22:50:32 +0800
committerJohannes Berg <johannes.berg@intel.com>2023-08-22 21:40:40 +0200
commit7bdfda42f043fce2e590252f264e0832b31a3e92 (patch)
tree8bf3e6353ed7011a6abfea7d96c175bac6f24097 /include/net/iw_handler.h
parent218d690c49b7e9c94ad0d317adbdd4af846ea0dc (diff)
downloadlinux-stable-7bdfda42f043fce2e590252f264e0832b31a3e92.tar.gz
linux-stable-7bdfda42f043fce2e590252f264e0832b31a3e92.tar.bz2
linux-stable-7bdfda42f043fce2e590252f264e0832b31a3e92.zip
wifi: wext: Remove unused declaration dev_get_wireless_info()
Commit 556829657397 ("[NL80211]: add netlink interface to cfg80211") declared but never implemented this, remove it. Commit 11433ee450eb ("[WEXT]: Move to net/wireless") rename net/core/wireless.c to net/wireless/wext.c, then commit 3d23e349d807 ("wext: refactor") refactor wext.c to wext-core.c, fix the wext comment. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20230807145032.44768-1-yuehaibing@huawei.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/iw_handler.h')
-rw-r--r--include/net/iw_handler.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index d2ea5863eedc..b2cf243ebe44 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -426,17 +426,10 @@ struct iw_public_data {
/**************************** PROTOTYPES ****************************/
/*
- * Functions part of the Wireless Extensions (defined in net/core/wireless.c).
- * Those may be called only within the kernel.
+ * Functions part of the Wireless Extensions (defined in net/wireless/wext-core.c).
+ * Those may be called by driver modules.
*/
-/* First : function strictly used inside the kernel */
-
-/* Handle /proc/net/wireless, called in net/code/dev.c */
-int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length);
-
-/* Second : functions that may be called by driver modules */
-
/* Send a single event to user space */
void wireless_send_event(struct net_device *dev, unsigned int cmd,
union iwreq_data *wrqu, const char *extra);