Commit 7bdfda42 authored by Yue Haibing's avatar Yue Haibing Committed by Johannes Berg

wifi: wext: Remove unused declaration dev_get_wireless_info()

Commit 55682965 ("[NL80211]: add netlink interface to cfg80211")
declared but never implemented this, remove it.
Commit 11433ee4 ("[WEXT]: Move to net/wireless") rename net/core/wireless.c
to net/wireless/wext.c, then commit 3d23e349 ("wext: refactor") refactor
wext.c to wext-core.c, fix the wext comment.
Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230807145032.44768-1-yuehaibing@huawei.comSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 218d690c
...@@ -426,17 +426,10 @@ struct iw_public_data { ...@@ -426,17 +426,10 @@ struct iw_public_data {
/**************************** PROTOTYPES ****************************/ /**************************** PROTOTYPES ****************************/
/* /*
* Functions part of the Wireless Extensions (defined in net/core/wireless.c). * Functions part of the Wireless Extensions (defined in net/wireless/wext-core.c).
* Those may be called only within the kernel. * 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 */ /* Send a single event to user space */
void wireless_send_event(struct net_device *dev, unsigned int cmd, void wireless_send_event(struct net_device *dev, unsigned int cmd,
union iwreq_data *wrqu, const char *extra); union iwreq_data *wrqu, const char *extra);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment