* [PATCH] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
@ 2026-05-02 21:56 Moksh Panicker
2026-05-03 6:02 ` Greg KH
0 siblings, 1 reply; 8+ messages in thread
From: Moksh Panicker @ 2026-05-02 21:56 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Moksh Panicker
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index ff39077deb69..d30c5e70625a 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
spin_lock_bh(&pxmitpriv->lock);
ret = rtw_txframes_pending(padapter);
spin_unlock_bh(&pxmitpriv->lock);
- if (ret == 1) {
+ if (ret == 1)
goto next;
- }
+
return _SUCCESS;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-02 21:56 [PATCH] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c Moksh Panicker
@ 2026-05-03 6:02 ` Greg KH
2026-05-03 7:59 ` [PATCH v2] " Moksh Panicker
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Greg KH @ 2026-05-03 6:02 UTC (permalink / raw)
To: Moksh Panicker; +Cc: devel, linux-kernel
On Sat, May 02, 2026 at 09:56:08PM +0000, Moksh Panicker wrote:
> Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
> ---
> drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> index ff39077deb69..d30c5e70625a 100644
> --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> @@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
> spin_lock_bh(&pxmitpriv->lock);
> ret = rtw_txframes_pending(padapter);
> spin_unlock_bh(&pxmitpriv->lock);
> - if (ret == 1) {
> + if (ret == 1)
> goto next;
> - }
> +
>
> return _SUCCESS;
> }
> --
> 2.34.1
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- You did not specify a description of why the patch is needed, or
possibly, any description at all, in the email body. Please read the
section entitled "The canonical patch format" in the kernel file,
Documentation/process/submitting-patches.rst for what is needed in
order to properly describe the change.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-03 6:02 ` Greg KH
@ 2026-05-03 7:59 ` Moksh Panicker
2026-05-03 8:18 ` Greg KH
2026-05-03 8:25 ` Moksh Panicker
2026-05-03 8:32 ` Moksh Panicker
2 siblings, 1 reply; 8+ messages in thread
From: Moksh Panicker @ 2026-05-03 7:59 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Moksh Panicker
Braces are not necessary for single statement blocks.
This fixes the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index ff39077deb69..d30c5e70625a 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
spin_lock_bh(&pxmitpriv->lock);
ret = rtw_txframes_pending(padapter);
spin_unlock_bh(&pxmitpriv->lock);
- if (ret == 1) {
+ if (ret == 1)
goto next;
- }
+
return _SUCCESS;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-03 7:59 ` [PATCH v2] " Moksh Panicker
@ 2026-05-03 8:18 ` Greg KH
0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2026-05-03 8:18 UTC (permalink / raw)
To: Moksh Panicker; +Cc: devel, linux-kernel
On Sun, May 03, 2026 at 07:59:56AM +0000, Moksh Panicker wrote:
> Braces are not necessary for single statement blocks.
> This fixes the following checkpatch warning:
>
> WARNING: braces {} are not necessary for single statement blocks
>
> Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
> ---
> drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> index ff39077deb69..d30c5e70625a 100644
> --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> @@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
> spin_lock_bh(&pxmitpriv->lock);
> ret = rtw_txframes_pending(padapter);
> spin_unlock_bh(&pxmitpriv->lock);
> - if (ret == 1) {
> + if (ret == 1)
> goto next;
> - }
> +
>
> return _SUCCESS;
> }
> --
> 2.34.1
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-03 6:02 ` Greg KH
2026-05-03 7:59 ` [PATCH v2] " Moksh Panicker
@ 2026-05-03 8:25 ` Moksh Panicker
2026-05-03 8:32 ` Moksh Panicker
2 siblings, 0 replies; 8+ messages in thread
From: Moksh Panicker @ 2026-05-03 8:25 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Moksh Panicker
Braces are not necessary for single statement blocks.
This fixes the following checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
v2: Added description of the change to the patch body.
---
drivers/staging/rtl8723bs/hal/hal_btcoex.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
index 2a2dd60be8bb..aab68aa299c8 100644
--- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c
+++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
@@ -402,9 +402,6 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
case BTC_GET_U1_MAC_PHY_MODE:
*pu8 = BTC_SMSP;
-/* *pU1Tmp = BTC_DMSP; */
-/* *pU1Tmp = BTC_DMDP; */
-/* *pU1Tmp = BTC_MP_UNKNOWN; */
break;
case BTC_GET_U1_AP_NUM:
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-03 6:02 ` Greg KH
2026-05-03 7:59 ` [PATCH v2] " Moksh Panicker
2026-05-03 8:25 ` Moksh Panicker
@ 2026-05-03 8:32 ` Moksh Panicker
2026-05-03 9:00 ` Greg KH
2 siblings, 1 reply; 8+ messages in thread
From: Moksh Panicker @ 2026-05-03 8:32 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Moksh Panicker
Braces are not necessary for single statement blocks.
This fixes the following checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index ff39077deb69..d30c5e70625a 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
spin_lock_bh(&pxmitpriv->lock);
ret = rtw_txframes_pending(padapter);
spin_unlock_bh(&pxmitpriv->lock);
- if (ret == 1) {
+ if (ret == 1)
goto next;
- }
+
return _SUCCESS;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-03 8:32 ` Moksh Panicker
@ 2026-05-03 9:00 ` Greg KH
2026-05-03 9:51 ` Moksh Panicker
0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2026-05-03 9:00 UTC (permalink / raw)
To: Moksh Panicker; +Cc: devel, linux-kernel
On Sun, May 03, 2026 at 08:32:20AM +0000, Moksh Panicker wrote:
> Braces are not necessary for single statement blocks.
> This fixes the following checkpatch.pl warning:
>
> WARNING: braces {} are not necessary for single statement blocks
>
> Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
> ---
> drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> index ff39077deb69..d30c5e70625a 100644
> --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> @@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
> spin_lock_bh(&pxmitpriv->lock);
> ret = rtw_txframes_pending(padapter);
> spin_unlock_bh(&pxmitpriv->lock);
> - if (ret == 1) {
> + if (ret == 1)
> goto next;
> - }
> +
>
> return _SUCCESS;
> }
> --
> 2.34.1
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
2026-05-03 9:00 ` Greg KH
@ 2026-05-03 9:51 ` Moksh Panicker
0 siblings, 0 replies; 8+ messages in thread
From: Moksh Panicker @ 2026-05-03 9:51 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Moksh Panicker
Braces are not necessary for single statement blocks.
This fixes the following checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
v2: Added description of the change to the patch body.
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index ff39077deb69..d30c5e70625a 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -395,9 +395,9 @@ static s32 rtl8723bs_xmit_handler(struct adapter *padapter)
spin_lock_bh(&pxmitpriv->lock);
ret = rtw_txframes_pending(padapter);
spin_unlock_bh(&pxmitpriv->lock);
- if (ret == 1) {
+ if (ret == 1)
goto next;
- }
+
return _SUCCESS;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-05-03 9:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-02 21:56 [PATCH] staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c Moksh Panicker
2026-05-03 6:02 ` Greg KH
2026-05-03 7:59 ` [PATCH v2] " Moksh Panicker
2026-05-03 8:18 ` Greg KH
2026-05-03 8:25 ` Moksh Panicker
2026-05-03 8:32 ` Moksh Panicker
2026-05-03 9:00 ` Greg KH
2026-05-03 9:51 ` Moksh Panicker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox