* [PATCH v2 1/2] staging: rtl8723bs: remove multiple blank lines
@ 2026-06-23 10:05 Serhat Kumral
2026-06-23 10:05 ` [PATCH v2 2/2] staging: rtl8723bs: put logical continuation on previous line Serhat Kumral
0 siblings, 1 reply; 3+ messages in thread
From: Serhat Kumral @ 2026-06-23 10:05 UTC (permalink / raw)
To: linux-staging
Cc: gregkh, linux-kernel, lgs201920130244, error27, Serhat Kumral
Remove multiple blank lines in os_intfs.c to conform to the
Linux kernel coding style guidelines.
This fixes the checkpatch.pl warnings:
CHECK: Please don't use multiple blank lines
Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com>
---
Changes in v2:
- Dropped the third patch of the v1 series (msleep to usleep_range conversion)
based on feedback from Dan Carpenter.
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index f31196f54..a545c3338 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -18,7 +18,6 @@ static int rtw_chip_version;
static int rtw_rfintfs = HWPI;
static int rtw_lbkmode;/* RTL8712_AIR_TRX; */
-
static int rtw_network_mode = Ndis802_11IBSS;/* Ndis802_11Infrastructure;infra, ad-hoc, auto */
/* struct ndis_802_11_ssid ssid; */
static int rtw_channel = 1;/* ad-hoc support requirement */
@@ -143,7 +142,6 @@ module_param(rtw_wifi_spec, int, 0644);
module_param(rtw_antdiv_cfg, int, 0644);
module_param(rtw_antdiv_type, int, 0644);
-
module_param(rtw_hw_wps_pbc, int, 0644);
static uint rtw_max_roaming_times = 2;
@@ -238,7 +236,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
registry_par->lowrate_two_xmit = (u8)rtw_lowrate_two_xmit;
registry_par->low_power = (u8)rtw_low_power;
-
registry_par->wifi_spec = (u8)rtw_wifi_spec;
registry_par->channel_plan = (u8)rtw_channel_plan;
@@ -335,7 +332,6 @@ static unsigned int rtw_classify8021d(struct sk_buff *skb)
return dscp >> 5;
}
-
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
struct net_device *sb_dev)
{
@@ -633,7 +629,6 @@ void rtw_reset_drv_sw(struct adapter *padapter)
rtw_set_signal_stat_timer(&padapter->recvpriv);
}
-
u8 rtw_init_drv_sw(struct adapter *padapter)
{
int res;
@@ -891,7 +886,6 @@ static int ips_netdrv_open(struct adapter *padapter)
return _FAIL;
}
-
int rtw_ips_pwr_up(struct adapter *padapter)
{
return ips_netdrv_open(padapter);
--
2.54.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH v2 2/2] staging: rtl8723bs: put logical continuation on previous line
2026-06-23 10:05 [PATCH v2 1/2] staging: rtl8723bs: remove multiple blank lines Serhat Kumral
@ 2026-06-23 10:05 ` Serhat Kumral
2026-06-23 10:10 ` Dan Carpenter
0 siblings, 1 reply; 3+ messages in thread
From: Serhat Kumral @ 2026-06-23 10:05 UTC (permalink / raw)
To: linux-staging
Cc: gregkh, linux-kernel, lgs201920130244, error27, Serhat Kumral
Move the logical operator '&&' to the previous line in os_intfs.c
to conform to the Linux kernel coding style guidelines.
This fixes the checkpatch.pl warning:
CHECK: Logical continuations should be on the previous line
Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com>
---
Changes in v2:
- Dropped the third patch of the v1 series (msleep to usleep_range conversion)
based on feedback from Dan Carpenter.
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index a545c3338..89e41c26e 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -1018,8 +1018,8 @@ static int rtw_suspend_free_assoc_resource(struct adapter *padapter)
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
if (rtw_chk_roam_flags(padapter, RTW_ROAM_ON_RESUME)) {
- if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)
- && check_fwstate(pmlmepriv, _FW_LINKED)) {
+ if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) &&
+ check_fwstate(pmlmepriv, _FW_LINKED)) {
rtw_set_to_roam(padapter, 1);
}
}
--
2.54.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2 2/2] staging: rtl8723bs: put logical continuation on previous line
2026-06-23 10:05 ` [PATCH v2 2/2] staging: rtl8723bs: put logical continuation on previous line Serhat Kumral
@ 2026-06-23 10:10 ` Dan Carpenter
0 siblings, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2026-06-23 10:10 UTC (permalink / raw)
To: Serhat Kumral; +Cc: linux-staging, gregkh, linux-kernel, lgs201920130244
On Tue, Jun 23, 2026 at 01:05:35PM +0300, Serhat Kumral wrote:
> Move the logical operator '&&' to the previous line in os_intfs.c
> to conform to the Linux kernel coding style guidelines.
> This fixes the checkpatch.pl warning:
> CHECK: Logical continuations should be on the previous line
>
> Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com>
> ---
> Changes in v2:
> - Dropped the third patch of the v1 series (msleep to usleep_range conversion)
> based on feedback from Dan Carpenter.
Thanks!
Reviewed-by: Dan Carpenter <error27@gmail.com>
regards,
dan carpenter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-23 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23 10:05 [PATCH v2 1/2] staging: rtl8723bs: remove multiple blank lines Serhat Kumral
2026-06-23 10:05 ` [PATCH v2 2/2] staging: rtl8723bs: put logical continuation on previous line Serhat Kumral
2026-06-23 10:10 ` Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.