2021-03-16 07:37:17

by zhaoxiao

[permalink] [raw]
Subject: [PATCH v2] staging: rtl8192u: remove extra lines

Remove extra lines in many functions in r8192U_wx.c.

Signed-off-by: zhaoxiao <[email protected]>
---
drivers/staging/rtl8192u/r8192U_wx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_wx.c
index 6ead461e3279..e68d37914456 100644
--- a/drivers/staging/rtl8192u/r8192U_wx.c
+++ b/drivers/staging/rtl8192u/r8192U_wx.c
@@ -879,7 +879,6 @@ static iw_handler r8192_wx_handlers[] = {


static const struct iw_priv_args r8192_private_args[] = {
-
{
SIOCIWFIRSTPRIV + 0x0,
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "badcrc"
@@ -890,14 +889,15 @@ static const struct iw_priv_args r8192_private_args[] = {
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "activescan"

},
+
{
SIOCIWFIRSTPRIV + 0x2,
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "rawtx"
},
+
{
SIOCIWFIRSTPRIV + 0x3,
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "forcereset"
-
}

};
--
2.20.1




2021-03-16 08:56:00

by Dan Carpenter

[permalink] [raw]
Subject: Re: [PATCH v2] staging: rtl8192u: remove extra lines

On Tue, Mar 16, 2021 at 10:44:10AM +0800, zhaoxiao wrote:
> Remove extra lines in many functions in r8192U_wx.c.
>
> Signed-off-by: zhaoxiao <[email protected]>
> ---
> drivers/staging/rtl8192u/r8192U_wx.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
^^^^^^^^^^^^
The commit message says you're removing lines but you're also adding
them. :P

regards,
dan carpenter

2021-03-16 18:38:17

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: Re: [PATCH v2] staging: rtl8192u: remove extra lines

On Tue, Mar 16, 2021 at 06:03:17PM +0800, 赵晓 wrote:
> This email message is intended only for the use of the individual or entity who
> /which is the intended recipient and may contain information that is privileged
> or confidential. If you are not the intended recipient, you are hereby notified
> that any use, dissemination, distribution or copying of, or taking any action
> in reliance on, this e-mail is strictly prohibited. If you have received this
> email in error, please notify UnionTech Software Technology immediately by
> replying to this e-mail and immediately delete and discard all copies of the
> e-mail and the attachment thereto (if any). Thank you.

This text is not compatible with Linux development sorry, email is now
deleted.