public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: remove trailing whitespace in rtw_xmit.c
@ 2026-04-18  3:36 Hari Haran
  2026-04-18  7:10 ` Luka Gejak
  0 siblings, 1 reply; 6+ messages in thread
From: Hari Haran @ 2026-04-18  3:36 UTC (permalink / raw)
  To: gregkh@linuxfoundation.org; +Cc: linux-staging, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1052 bytes --]

From 6bc4478708261b77cd9eea568a4de8f60ce5cd7c Mon Sep 17 00:00:00 2001
From: Haribytecode <osdevhari@gmail.com>
Date: Sat, 18 Apr 2026 08:54:59 +0530
Subject: [PATCH] staging: rtl8723bs: remove trailing whitespace in
rtw_xmit.c

Fix checkpatch error for trailing whitespace.

Signed-off-by: Haribytecode <osdevhari@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_xmit.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c
b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index d77a2f3603ae..4cedb6a06f45 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -2176,13 +2176,12 @@ static void
dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struc

  ret = xmitframe_enqueue_for_sleeping_sta(padapter, pxmitframe);

- if (true == ret) {
+ if (ret) {
  ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8
*)(&ac_index));

  ptxservq->qcnt--;
  phwxmits[ac_index].accnt--;
- } else {
- }
+ }
  }
 }

-- 
2.53.0

[-- Attachment #1.2: Type: text/html, Size: 1314 bytes --]

[-- Attachment #2: 0001-staging-rtl8723bs-remove-trailing-whitespace-in-rtw_.patch --]
[-- Type: text/x-patch, Size: 1070 bytes --]

From 6bc4478708261b77cd9eea568a4de8f60ce5cd7c Mon Sep 17 00:00:00 2001
From: Haribytecode <osdevhari@gmail.com>
Date: Sat, 18 Apr 2026 08:54:59 +0530
Subject: [PATCH] staging: rtl8723bs: remove trailing whitespace in rtw_xmit.c

Fix checkpatch error for trailing whitespace.

Signed-off-by: Haribytecode <osdevhari@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_xmit.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index d77a2f3603ae..4cedb6a06f45 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -2176,13 +2176,12 @@ static void dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struc
 
 		ret = xmitframe_enqueue_for_sleeping_sta(padapter, pxmitframe);
 
-		if (true == ret) {
+		if (ret) {
 			ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index));
 
 			ptxservq->qcnt--;
 			phwxmits[ac_index].accnt--;
-		} else {
-		}
+		} 
 	}
 }
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-18  8:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-18  3:36 [PATCH] staging: rtl8723bs: remove trailing whitespace in rtw_xmit.c Hari Haran
2026-04-18  7:10 ` Luka Gejak
2026-04-18  7:22   ` Luka Gejak
2026-04-18  7:24   ` Greg KH
2026-04-18  7:37     ` Luka Gejak
2026-04-18  8:05       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox