* [PATCH] Staging: rtl8192e: rtl819x_HTProc: Removed braces from single statement block
@ 2024-02-13 7:46 Aaron Parfitt
2024-02-15 9:32 ` Philipp Hortmann
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Parfitt @ 2024-02-13 7:46 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, linux-staging, Aaron Parfitt
Fixed code style issue
Signed-off-by: Aaron Parfitt <aaronparfitt123@gmail.com>
---
drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index 6d0912f90198..49b882c363bf 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -480,9 +480,9 @@ void ht_on_assoc_rsp(struct rtllib_device *ieee)
}
ht_info->current_mpdu_density = pPeerHTCap->MPDUDensity;
- if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) {
+ if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K)
ht_info->current_ampdu_enable = false;
- }
+
ht_info->cur_rx_reorder_enable = 1;
if (pPeerHTCap->MCS[0] == 0)
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: rtl8192e: rtl819x_HTProc: Removed braces from single statement block
2024-02-13 7:46 [PATCH] Staging: rtl8192e: rtl819x_HTProc: Removed braces from single statement block Aaron Parfitt
@ 2024-02-15 9:32 ` Philipp Hortmann
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Hortmann @ 2024-02-15 9:32 UTC (permalink / raw)
To: Aaron Parfitt, gregkh; +Cc: linux-kernel, linux-staging
Hi Aaron,
looks OK but can we make the subject more unique. Maybe like this:
[PATCH] Staging: rtl8192e: Removed braces from single statement block in
ht_on_assoc_rsp
Or is this getting to long?
I propose the description to be like:
Remove braces from single statement blocks to clear checkpatch warning.
If you change this you need to make a v2 with changelog.
Bye Philipp
On 13.02.24 08:46, Aaron Parfitt wrote:
> Fixed code style issue
>
> Signed-off-by: Aaron Parfitt <aaronparfitt123@gmail.com>
> ---
> drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
> index 6d0912f90198..49b882c363bf 100644
> --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
> +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
> @@ -480,9 +480,9 @@ void ht_on_assoc_rsp(struct rtllib_device *ieee)
> }
>
> ht_info->current_mpdu_density = pPeerHTCap->MPDUDensity;
> - if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) {
> + if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K)
> ht_info->current_ampdu_enable = false;
> - }
> +
> ht_info->cur_rx_reorder_enable = 1;
>
> if (pPeerHTCap->MCS[0] == 0)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-15 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 7:46 [PATCH] Staging: rtl8192e: rtl819x_HTProc: Removed braces from single statement block Aaron Parfitt
2024-02-15 9:32 ` Philipp Hortmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox