From: Khushal Chitturi Date: Thu, 12 Feb 2026 14:21:31 +0000 (+0530) Subject: staging: rtl8723bs: align and split variable declarations X-Git-Tag: v7.1-rc1~81^2~110 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=791af501f51c7d7e1a364fb52f38647aac400e9a;p=thirdparty%2Fkernel%2Flinux.git staging: rtl8723bs: align and split variable declarations Split multi variable declarations into single lines and move trailing comments to the line above to fix line length and alignment warnings. Signed-off-by: Khushal Chitturi Link: https://patch.msgid.link/20260212142131.28131-8-khushalchitturi@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c index 04baa91e84fad..5d9b192805c9d 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -1131,8 +1131,12 @@ bool traffic_status_watchdog(struct adapter *padapter, bool from_timer) u16 busy_threshold_high = 25; u16 busy_threshold_low = 10; u16 busy_threshold = busy_threshold_high; - bool busy_traffic = false, tx_busy_traffic = false, rx_busy_traffic = false; - bool higher_busy_traffic = false, higher_busy_rx_traffic = false, higher_busy_tx_traffic = false; + bool busy_traffic = false; + bool tx_busy_traffic = false; + bool rx_busy_traffic = false; + bool higher_busy_traffic = false; + bool higher_busy_rx_traffic = false; + bool higher_busy_tx_traffic = false; struct mlme_priv *pmlmepriv = &padapter->mlmepriv; collect_traffic_statistics(padapter); diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h index 65a9e4e9df559..8d18eb5686aa6 100644 --- a/drivers/staging/rtl8723bs/include/rtw_mlme.h +++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h @@ -99,11 +99,14 @@ struct rt_link_detect_t { bool busy_traffic; bool tx_busy_traffic; bool rx_busy_traffic; - bool higher_busy_traffic; /* For interrupt migration purpose. */ - bool higher_busy_rx_traffic; /* We may disable Tx interrupt according as Rx traffic. */ - bool higher_busy_tx_traffic; /* We may disable Tx interrupt according as Tx traffic. */ - u8 traffic_transition_count; - u32 low_power_transition_count; + /* For interrupt migration purpose. */ + bool higher_busy_traffic; + /* We may disable Tx interrupt according as Rx traffic. */ + bool higher_busy_rx_traffic; + /* We may disable Tx interrupt according as Tx traffic. */ + bool higher_busy_tx_traffic; + u8 traffic_transition_count; + u32 low_power_transition_count; }; /* used for mlme_priv.roam_flags */