public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: drop duplicate blank lines in core files
@ 2026-05-01 16:59 Stepan Ionichev
  2026-05-01 18:53 ` Luka Gejak
  2026-05-02  8:50 ` [PATCH v2] staging: rtl8723bs: drop blank line before close brace in rtw_ieee80211.c Stepan Ionichev
  0 siblings, 2 replies; 3+ messages in thread
From: Stepan Ionichev @ 2026-05-01 16:59 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Stepan Ionichev

Remove redundant blank lines flagged by checkpatch.pl in three core
source files of the rtl8723bs driver:

  rtw_btcoex.c:    multiple blank lines
  rtw_efuse.c:     multiple blank lines
  rtw_ieee80211.c: blank line before a close brace

No functional change.

Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_btcoex.c    | 1 -
 drivers/staging/rtl8723bs/core/rtw_efuse.c     | 1 -
 drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index 0191a943f..27dfd00b4 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -65,7 +65,6 @@ void rtw_btcoex_LPS_Leave(struct adapter *padapter)
 {
 	struct pwrctrl_priv *pwrpriv;
 
-
 	pwrpriv = adapter_to_pwrctl(padapter);
 
 	if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) {
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index 099320e4e..0cd7ce242 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -232,7 +232,6 @@ void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType)
 	/* void *)&pHalData->EfuseMap[EFUSE_INIT_MAP][0], mapLen); */
 } /*  EFUSE_ShadowMapUpdate */
 
-
 /*-----------------------------------------------------------------------------
  * Function:	EFUSE_ShadowRead
  *
diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
index 72b7f731d..5fb1fe5b7 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
@@ -593,7 +593,6 @@ int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len)
 
 			if (wapi_len)
 				*wapi_len = in_ie[cnt + 1] + 2;
-
 		}
 
 		cnt += in_ie[cnt + 1] + 2;   /* get next */
-- 
2.33.0.windows.2


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

* Re: [PATCH] staging: rtl8723bs: drop duplicate blank lines in core files
  2026-05-01 16:59 [PATCH] staging: rtl8723bs: drop duplicate blank lines in core files Stepan Ionichev
@ 2026-05-01 18:53 ` Luka Gejak
  2026-05-02  8:50 ` [PATCH v2] staging: rtl8723bs: drop blank line before close brace in rtw_ieee80211.c Stepan Ionichev
  1 sibling, 0 replies; 3+ messages in thread
From: Luka Gejak @ 2026-05-01 18:53 UTC (permalink / raw)
  To: sozdayvek; +Cc: gregkh, linux-kernel, linux-staging, luka.gejak

> Remove redundant blank lines flagged by checkpatch.pl in three core
> source files of the rtl8723bs driver:
> 
>   rtw_btcoex.c:    multiple blank lines
>   rtw_efuse.c:     multiple blank lines
>   rtw_ieee80211.c: blank line before a close brace
> 
> No functional change.
> 
> Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
> ---
>  drivers/staging/rtl8723bs/core/rtw_btcoex.c    | 1 -
>  drivers/staging/rtl8723bs/core/rtw_efuse.c     | 1 -
>  drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 1 -
>  3 files changed, 3 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
> index 0191a943f..27dfd00b4 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
> @@ -65,7 +65,6 @@ void rtw_btcoex_LPS_Leave(struct adapter *padapter)
>  {
>  	struct pwrctrl_priv *pwrpriv;
>  
> -
>  	pwrpriv = adapter_to_pwrctl(padapter);
>  
>  	if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) {
> diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> index 099320e4e..0cd7ce242 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> @@ -232,7 +232,6 @@ void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType)
>  	/* void *)&pHalData->EfuseMap[EFUSE_INIT_MAP][0], mapLen); */
>  } /*  EFUSE_ShadowMapUpdate */
>  
> -
>  /*-----------------------------------------------------------------------------
>   * Function:	EFUSE_ShadowRead
>   *
> diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> index 72b7f731d..5fb1fe5b7 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> @@ -593,7 +593,6 @@ int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len)
>  
>  			if (wapi_len)
>  				*wapi_len = in_ie[cnt + 1] + 2;
> -
>  		}
>  
>  		cnt += in_ie[cnt + 1] + 2;   /* get next */
> -- 
> 2.33.0.windows.2
> 

These changes are already present in staging-next branch. Please use 
staging-next for development, not mainline repo.
Best regards,
Luka Gejak

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

* [PATCH v2] staging: rtl8723bs: drop blank line before close brace in rtw_ieee80211.c
  2026-05-01 16:59 [PATCH] staging: rtl8723bs: drop duplicate blank lines in core files Stepan Ionichev
  2026-05-01 18:53 ` Luka Gejak
@ 2026-05-02  8:50 ` Stepan Ionichev
  1 sibling, 0 replies; 3+ messages in thread
From: Stepan Ionichev @ 2026-05-02  8:50 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, luka.gejak, Stepan Ionichev

Drop a blank line before a close brace in rtw_get_wapi_ie(),
flagged by checkpatch.pl:

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

No functional change.

Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
---
v2:
- Rebased onto staging-next, as suggested by Luka Gejak.
- Dropped the rtw_btcoex.c and rtw_efuse.c hunks: already addressed by
  commit 7dbc9fd71438 ("staging: rtl8723bs: remove multiple blank lines
  in core/").
- Narrowed subject to reflect the remaining single-file scope.

 drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
index 72b7f731d..5fb1fe5b7 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
@@ -593,7 +593,6 @@ int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len)
 
 			if (wapi_len)
 				*wapi_len = in_ie[cnt + 1] + 2;
-
 		}
 
 		cnt += in_ie[cnt + 1] + 2;   /* get next */
-- 
2.33.0.windows.2


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

end of thread, other threads:[~2026-05-02  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-01 16:59 [PATCH] staging: rtl8723bs: drop duplicate blank lines in core files Stepan Ionichev
2026-05-01 18:53 ` Luka Gejak
2026-05-02  8:50 ` [PATCH v2] staging: rtl8723bs: drop blank line before close brace in rtw_ieee80211.c Stepan Ionichev

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