diff options
author | 2021-12-26 22:25:29 +0100 | |
---|---|---|
committer | 2021-12-28 17:13:02 +0100 | |
commit | a40f670989b2bbfd50d696956ff365718f12d583 (patch) | |
tree | 68b0425f6d43232e8215c34d71b148c877b79896 | |
parent | staging: r8188eu: remove the private drvext_hdl ioctl (diff) | |
download | linux-dev-a40f670989b2bbfd50d696956ff365718f12d583.tar.xz linux-dev-a40f670989b2bbfd50d696956ff365718f12d583.zip |
staging: r8188eu: remove the private ioctl "wps_prob_req_ie"
Remove the private ioctl "wps_prob_req_ie", it is mapped to
an empty function.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211226212535.197989-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/r8188eu/os_dep/ioctl_linux.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c index 761511bbb0ad..b1f4f5ae71c1 100644 --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c @@ -2112,13 +2112,6 @@ static int rtw_wx_set_channel_plan(struct net_device *dev, return 0; } -static int rtw_wx_set_mtk_wps_probe_ie(struct net_device *dev, - struct iw_request_info *a, - union iwreq_data *wrqu, char *b) -{ - return 0; -} - static int rtw_wx_set_mtk_wps_ie(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) @@ -4307,10 +4300,6 @@ static const struct iw_priv_args rtw_private_args[] = { IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "wps_start" }, { - SIOCIWFIRSTPRIV + 0x8, - IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "wps_prob_req_ie" - }, - { SIOCIWFIRSTPRIV + 0x9, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "wps_assoc_req_ie" }, @@ -4375,7 +4364,7 @@ NULL, /* 0x03 */ rtw_wps_start, /* 0x06 */ NULL, /* 0x07 */ - rtw_wx_set_mtk_wps_probe_ie, /* 0x08 */ + NULL, /* 0x08 */ rtw_wx_set_mtk_wps_ie, /* 0x09 */ /* Set Channel depend on the country code */ |