staging: rtl8192e: Remove blank lines in r8192E_hw.h, rtl_core.h and ..
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>
This commit is contained in:
parent
ec0eb562a7
commit
766e9d4ae7
|
@ -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
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue