[PATCH] staging: rtl8723bs: remove unnecessary blank lines

Tan Kai Zhe posted 1 patch 1 day, 21 hours ago
drivers/staging/rtl8723bs/core/rtw_cmd.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] staging: rtl8723bs: remove unnecessary blank lines
Posted by Tan Kai Zhe 1 day, 21 hours ago
Adhere to Linux kernel coding style.

Reported by checkpatch:

CHECK: Blank lines aren't necessary before a close brace '}'

Signed-off-by: Tan Kai Zhe <kaizhetan@yahoo.com>
---
 drivers/staging/rtl8723bs/core/rtw_cmd.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
index ef2d92b5588a..7f1bf20300fe 100644
--- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
+++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
@@ -1224,7 +1224,6 @@ u8 traffic_status_watchdog(struct adapter *padapter, u8 from_timer)
 	pmlmepriv->LinkDetectInfo.bHigherBusyTxTraffic = bHigherBusyTxTraffic;
 
 	return bEnterPS;
-
 }
 
 static void dynamic_chk_wk_hdl(struct adapter *padapter)
@@ -1446,7 +1445,6 @@ u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta)
 exit:
 
 	return res;
-
 }
 
 u8 rtw_ps_cmd(struct adapter *padapter)
@@ -1516,9 +1514,7 @@ static void rtw_chk_hi_queue_hdl(struct adapter *padapter)
 		} else {/* re check again */
 			rtw_chk_hi_queue_cmd(padapter);
 		}
-
 	}
-
 }
 
 u8 rtw_chk_hi_queue_cmd(struct adapter *padapter)
@@ -1877,7 +1873,6 @@ void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd)
 
 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
 		/*  we will set _FW_LINKED when there is one more sat to join us (rtw_stassoc_event_callback) */
-
 	}
 
 createbss_cmd_fail:
-- 
2.53.0
Re: [PATCH] staging: rtl8723bs: remove unnecessary blank lines
Posted by Ethan Tidmore 1 day, 19 hours ago
On Thu Feb 5, 2026 at 9:12 AM CST, Tan Kai Zhe wrote:
> Adhere to Linux kernel coding style.
>
> Reported by checkpatch:
>
> CHECK: Blank lines aren't necessary before a close brace '}'
>
> Signed-off-by: Tan Kai Zhe <kaizhetan@yahoo.com>

These blank lines have already been removed in staging-next. Please use
staging-next when creating patches for staging. Thanks.

ET
Re: [PATCH] staging: rtl8723bs: remove unnecessary blank lines
Posted by Kai 1 day, 12 hours ago
On Thu, Feb 05, 2026 at 11:00:29AM -0600, Ethan Tidmore wrote:
> On Thu Feb 5, 2026 at 9:12 AM CST, Tan Kai Zhe wrote:
> > Adhere to Linux kernel coding style.
> >
> > Reported by checkpatch:
> >
> > CHECK: Blank lines aren't necessary before a close brace '}'
> >
> > Signed-off-by: Tan Kai Zhe <kaizhetan@yahoo.com>
> 
> These blank lines have already been removed in staging-next. Please use
> staging-next when creating patches for staging. Thanks.
> 
> ET

Sorry and thanks! I'll use staging-next from now on.