diff options
author | 2021-12-26 22:25:32 +0100 | |
---|---|---|
committer | 2021-12-28 17:13:02 +0100 | |
commit | 08ea4a2c62b660eac3c6cd747bfdaabae2c29cac (patch) | |
tree | 3de8a74f6c3cdb0f03e90c96c9d8242562dddd02 | |
parent | staging: r8188eu: remove the private ioctl "wps_assoc_req_ie" (diff) | |
download | linux-dev-08ea4a2c62b660eac3c6cd747bfdaabae2c29cac.tar.xz linux-dev-08ea4a2c62b660eac3c6cd747bfdaabae2c29cac.zip |
staging: r8188eu: remove the private ioctl "tdls_get"
Remove the private ioctl "tdls_get", it is mapped to an empty
function.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211226212535.197989-8-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 776b4f5cb77d..47c1662394f3 100644 --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c @@ -4185,13 +4185,6 @@ static int rtw_tdls(struct net_device *dev, return 0; } -static int rtw_tdls_get(struct net_device *dev, - struct iw_request_info *info, - union iwreq_data *wrqu, char *extra) -{ - return 0; -} - static int rtw_test( struct net_device *dev, struct iw_request_info *info, @@ -4320,10 +4313,6 @@ static const struct iw_priv_args rtw_private_args[] = { IW_PRIV_TYPE_CHAR | 64, 0, "tdls" }, { - SIOCIWFIRSTPRIV + 0x15, - IW_PRIV_TYPE_CHAR | P2P_PRIVATE_IOCTL_SET_LEN, IW_PRIV_TYPE_CHAR | IW_PRIV_SIZE_FIXED | P2P_PRIVATE_IOCTL_SET_LEN, "tdls_get" - }, - { SIOCIWFIRSTPRIV + 0x16, IW_PRIV_TYPE_CHAR | 64, 0, "pm_set" }, @@ -4364,7 +4353,7 @@ NULL, /* 0x03 */ NULL, /* 0x13 */ rtw_tdls, /* 0x14 */ - rtw_tdls_get, /* 0x15 */ + NULL, /* 0x15 */ rtw_pm_set, /* 0x16 */ NULL, /* 0x17 */ |