]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: align and split variable declarations
authorKhushal Chitturi <khushalchitturi@gmail.com>
Thu, 12 Feb 2026 14:21:31 +0000 (19:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Feb 2026 15:19:20 +0000 (16:19 +0100)
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 <khushalchitturi@gmail.com>
Link: https://patch.msgid.link/20260212142131.28131-8-khushalchitturi@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/include/rtw_mlme.h

index 04baa91e84fad471e28e419507c3159d9bb57ed9..5d9b192805c9db2c50750761d50efdcefa4c2fdf 100644 (file)
@@ -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);
index 65a9e4e9df559626d7f94411c85b879fc4a66e3b..8d18eb5686aa6a374faa9939d5a5f693b9630501 100644 (file)
@@ -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 */