[PATCH] staging: rtl8723bs: remove trailing whitespace in rtw_xmit.c

Hari Haran
2026-04-18T03:37:05Z

[-- 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