staging: rtl8192e: Remove blank lines in r8192E_hw.h, rtl_core.h and ..
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 7 Feb 2023 18:16:29 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:32:16 +0000 (13:32 +0100)
Remove or add blank lines in r8192E_hw.h, rtl_core.h and rtl_dm.h so that
code fits to kernel coding style as shown by checkpatch. Remove one line
break after "}" to fit to kernel coding style.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/9d7d54c5a2cdba6162e38e8d77faca5e5f39bdea.1675792435.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h

index 1546bb5752936eece17ca02c8348a993a6664305..2b49820510da8214badc6dde7a0dc1f8d9de209f 100644 (file)
@@ -239,14 +239,11 @@ enum _RTL8192PCI_HW {
                                RATR_MCS11 | RATR_MCS12 | RATR_MCS13 |  \
                                RATR_MCS14|RATR_MCS15)
 
-
        DRIVER_RSSI             = 0x32c,
        MCS_TXAGC               = 0x340,
        CCK_TXAGC               = 0x348,
        MacBlkCtrl              = 0x403,
-
-}
-;
+};
 
 #define GPI 0x108
 
index 17fc69c839d329881db4223d37b4627fbb78c771..fd96eef90c7fa17515cc836ee8ce61c2fa216a5e 100644 (file)
@@ -203,8 +203,6 @@ struct rtl8192_tx_ring {
        struct sk_buff_head queue;
 };
 
-
-
 struct rtl819x_ops {
        enum nic_t nic_type;
        void (*get_eeprom_size)(struct net_device *dev);
@@ -264,7 +262,6 @@ struct r8192_priv {
 
        enum rt_customer_id customer_id;
 
-
        enum rt_rf_type_819xu rf_chip;
        enum ht_channel_width current_chnl_bw;
        struct bb_reg_definition phy_reg_def[4];
index 7339ce1e40dba9715c6c1c0f7647e1ceee3555da..a0c4006c7726fbda2283da46e2c928e680f2d9aa 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef        __R8192UDM_H__
 #define __R8192UDM_H__
 
-
 /*--------------------------Define Parameters-------------------------------*/
 #define                        OFDM_Table_Length       19
 #define                CCK_Table_length        12
@@ -49,7 +48,6 @@
 
 /*--------------------------Define Parameters-------------------------------*/
 
-
 /*------------------------------Define structure----------------------------*/
 struct dig_t {
        u8              dig_enable_flag;
@@ -88,7 +86,6 @@ enum dm_dig_sta {
        DM_STA_DIG_MAX
 };
 
-
 enum dm_ratr_sta {
        DM_RATR_STA_HIGH = 0,
        DM_RATR_STA_MIDDLE = 1,
@@ -148,14 +145,13 @@ enum dm_cck_rx_path_method {
        CCK_Rx_Version_MAX
 };
 
-
 struct dcmd_txcmd {
        u32     op;
        u32     length;
        u32     value;
 };
-/*------------------------------Define structure----------------------------*/
 
+/*------------------------------Define structure----------------------------*/
 
 /*------------------------Export global variable----------------------------*/
 extern struct dig_t dm_digtable;
@@ -170,7 +166,6 @@ extern const u8 dm_cck_tx_bb_gain_ch14[CCK_TX_BB_GAIN_TABLE_LEN][8];
 
 /*------------------------Export global variable----------------------------*/
 
-
 /*--------------------------Exported Function prototype---------------------*/
 /*--------------------------Exported Function prototype---------------------*/
 
@@ -179,7 +174,6 @@ void rtl92e_dm_deinit(struct net_device *dev);
 
 void rtl92e_dm_watchdog(struct net_device *dev);
 
-
 void    rtl92e_init_adaptive_rate(struct net_device *dev);
 void    rtl92e_dm_txpower_tracking_wq(void *data);