From: Martin Kaiser <martin@kaiser.cx>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
Phillip Potter <phil@philpotter.co.uk>,
Michael Straube <straube.linux@gmail.com>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Martin Kaiser <martin@kaiser.cx>
Subject: [PATCH 02/10] staging: r8188eu: remove the private ioctl "get sensitivity"
Date: Sun, 26 Dec 2021 22:25:27 +0100 [thread overview]
Message-ID: <20211226212535.197989-3-martin@kaiser.cx> (raw)
In-Reply-To: <20211226212535.197989-1-martin@kaiser.cx>
Remove the private ioctl "get sensitivity", it is mapped to an empty
function.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/os_dep/ioctl_linux.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c
index ea8858213771..bc23754c7f5c 100644
--- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c
+++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c
@@ -2119,13 +2119,6 @@ static int rtw_wx_set_mtk_wps_probe_ie(struct net_device *dev,
return 0;
}
-static int rtw_wx_get_sensitivity(struct net_device *dev,
- struct iw_request_info *info,
- union iwreq_data *wrqu, char *buf)
-{
- 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)
@@ -4323,10 +4316,6 @@ static const struct iw_priv_args rtw_private_args[] = {
SIOCIWFIRSTPRIV + 0x6,
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "wps_start"
},
- {
- SIOCIWFIRSTPRIV + 0x7,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "get_sensitivity"
- },
{
SIOCIWFIRSTPRIV + 0x8,
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "wps_prob_req_ie"
@@ -4395,7 +4384,7 @@ NULL, /* 0x03 */
rtw_set_pid, /* 0x05 */
rtw_wps_start, /* 0x06 */
- rtw_wx_get_sensitivity, /* 0x07 */
+ NULL, /* 0x07 */
rtw_wx_set_mtk_wps_probe_ie, /* 0x08 */
rtw_wx_set_mtk_wps_ie, /* 0x09 */
--
2.30.2
next prev parent reply other threads:[~2021-12-26 21:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-26 21:25 [PATCH 00/10] staging: r8188eu: clean up private ioctls Martin Kaiser
2021-12-26 21:25 ` [PATCH 01/10] staging: r8188eu: remove unused rtw_private_args entries Martin Kaiser
2021-12-26 21:25 ` Martin Kaiser [this message]
2021-12-26 21:25 ` [PATCH 03/10] staging: r8188eu: remove the private drvext_hdl ioctl Martin Kaiser
2021-12-26 21:25 ` [PATCH 04/10] staging: r8188eu: remove the private ioctl "wps_prob_req_ie" Martin Kaiser
2021-12-26 21:25 ` [PATCH 05/10] staging: r8188eu: remove private ioctls that return -1 Martin Kaiser
2021-12-26 21:25 ` [PATCH 06/10] staging: r8188eu: remove the private ioctl "wps_assoc_req_ie" Martin Kaiser
2021-12-26 21:25 ` [PATCH 07/10] staging: r8188eu: remove the private ioctl "tdls_get" Martin Kaiser
2021-12-26 21:25 ` [PATCH 08/10] staging: r8188eu: remove the private ioctl "tdls" Martin Kaiser
2021-12-26 21:25 ` [PATCH 09/10] staging: r8188eu: remove the private "test" ioctl Martin Kaiser
2022-01-06 8:52 ` Dan Carpenter
2021-12-26 21:25 ` [PATCH 10/10] staging: r8188eu: remove unused prototype Martin Kaiser
2021-12-28 16:14 ` [PATCH 00/10] staging: r8188eu: clean up private ioctls Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211226212535.197989-3-martin@kaiser.cx \
--to=martin@kaiser.cx \
--cc=Larry.Finger@lwfinger.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=phil@philpotter.co.uk \
--cc=straube.linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®