diff options
author | 2021-12-26 22:25:28 +0100 | |
---|---|---|
committer | 2021-12-28 17:13:02 +0100 | |
commit | d8c92147bda2b2294f79fbb35b4d1982c1a9e2f7 (patch) | |
tree | 0141fdc2e63f1d9fe5d64cab00f9190bd5d4da65 | |
parent | staging: r8188eu: remove the private ioctl "get sensitivity" (diff) | |
download | linux-dev-d8c92147bda2b2294f79fbb35b4d1982c1a9e2f7.tar.xz linux-dev-d8c92147bda2b2294f79fbb35b4d1982c1a9e2f7.zip |
staging: r8188eu: remove the private drvext_hdl ioctl
Remove the private drvext_hdl ioctl, it is mapped to an empty function.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211226212535.197989-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/staging/r8188eu/os_dep/ioctl_linux.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c index bc23754c7f5c..761511bbb0ad 100644 --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c @@ -2126,16 +2126,6 @@ static int rtw_wx_set_mtk_wps_ie(struct net_device *dev, return 0; } -/* - * For all data larger than 16 octets, we need to use a - * pointer to memory allocated in user space. - */ -static int rtw_drvext_hdl(struct net_device *dev, struct iw_request_info *info, - union iwreq_data *wrqu, char *extra) -{ - return 0; -} - static int rtw_get_ap_info(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) @@ -4376,7 +4366,7 @@ static const struct iw_priv_args rtw_private_args[] = { static iw_handler rtw_private_handler[] = { rtw_wx_write32, /* 0x00 */ rtw_wx_read32, /* 0x01 */ -rtw_drvext_hdl, /* 0x02 */ + NULL, /* 0x02 */ NULL, /* 0x03 */ /* for MM DTV platform */ rtw_get_ap_info, /* 0x04 */ |