Commit ef7ebea4 authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: trim multiple blank lines - Coding Style

Trim the extra blank lines from the code, to clear checkpatch messages.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c0f94a0a
...@@ -59,7 +59,6 @@ extern u32 rt_global_debug_component; ...@@ -59,7 +59,6 @@ extern u32 rt_global_debug_component;
#define COMP_DBG BIT(1) #define COMP_DBG BIT(1)
#define COMP_INIT BIT(2) /* Driver initialization/halt/reset. */ #define COMP_INIT BIT(2) /* Driver initialization/halt/reset. */
#define COMP_RECV BIT(3) /* Receive data path. */ #define COMP_RECV BIT(3) /* Receive data path. */
#define COMP_SEND BIT(4) /* Send data path. */ #define COMP_SEND BIT(4) /* Send data path. */
#define COMP_IO BIT(5) #define COMP_IO BIT(5)
...@@ -127,7 +126,6 @@ extern u32 rt_global_debug_component; ...@@ -127,7 +126,6 @@ extern u32 rt_global_debug_component;
#define RT_DEBUG_DATA(level, data, datalen) do {} while (0) #define RT_DEBUG_DATA(level, data, datalen) do {} while (0)
#endif /* RTL8169_DEBUG */ #endif /* RTL8169_DEBUG */
/* Queue Select Value in TxDesc */ /* Queue Select Value in TxDesc */
#define QSLT_BK 0x1 #define QSLT_BK 0x1
#define QSLT_BE 0x0 #define QSLT_BE 0x0
...@@ -240,8 +238,6 @@ typedef struct _tx_desc_819x_usb_aggr_subframe { ...@@ -240,8 +238,6 @@ typedef struct _tx_desc_819x_usb_aggr_subframe {
} tx_desc_819x_usb_aggr_subframe, *ptx_desc_819x_usb_aggr_subframe; } tx_desc_819x_usb_aggr_subframe, *ptx_desc_819x_usb_aggr_subframe;
#endif #endif
typedef struct _tx_desc_cmd_819x_usb { typedef struct _tx_desc_cmd_819x_usb {
/* DWORD 0 */ /* DWORD 0 */
u16 Reserved0; u16 Reserved0;
...@@ -269,7 +265,6 @@ typedef struct _tx_desc_cmd_819x_usb { ...@@ -269,7 +265,6 @@ typedef struct _tx_desc_cmd_819x_usb {
u32 Reserved8; u32 Reserved8;
} tx_desc_cmd_819x_usb, *ptx_desc_cmd_819x_usb; } tx_desc_cmd_819x_usb, *ptx_desc_cmd_819x_usb;
typedef struct _tx_fwinfo_819x_usb { typedef struct _tx_fwinfo_819x_usb {
/* DOWRD 0 */ /* DOWRD 0 */
u8 TxRate:7; u8 TxRate:7;
...@@ -492,7 +487,6 @@ typedef struct _rt_firmware_info_819xUsb { ...@@ -492,7 +487,6 @@ typedef struct _rt_firmware_info_819xUsb {
#define PHY_RSSI_SLID_WIN_MAX 100 #define PHY_RSSI_SLID_WIN_MAX 100
typedef enum _WIRELESS_MODE { typedef enum _WIRELESS_MODE {
WIRELESS_MODE_UNKNOWN = 0x00, WIRELESS_MODE_UNKNOWN = 0x00,
WIRELESS_MODE_A = 0x01, WIRELESS_MODE_A = 0x01,
...@@ -503,7 +497,6 @@ typedef enum _WIRELESS_MODE { ...@@ -503,7 +497,6 @@ typedef enum _WIRELESS_MODE {
WIRELESS_MODE_N_5G = 0x20 WIRELESS_MODE_N_5G = 0x20
} WIRELESS_MODE; } WIRELESS_MODE;
#define RTL_IOCTL_WPA_SUPPLICANT (SIOCIWFIRSTPRIV + 30) #define RTL_IOCTL_WPA_SUPPLICANT (SIOCIWFIRSTPRIV + 30)
typedef struct buffer { typedef struct buffer {
...@@ -523,11 +516,6 @@ typedef struct rtl_reg_debug { ...@@ -523,11 +516,6 @@ typedef struct rtl_reg_debug {
unsigned char buf[0xff]; unsigned char buf[0xff];
} rtl_reg_debug; } rtl_reg_debug;
typedef struct _rt_9x_tx_rate_history { typedef struct _rt_9x_tx_rate_history {
u32 cck[4]; u32 cck[4];
u32 ofdm[8]; u32 ofdm[8];
...@@ -642,13 +630,11 @@ typedef struct Stats { ...@@ -642,13 +630,11 @@ typedef struct Stats {
u32 CurrentShowTxate; u32 CurrentShowTxate;
} Stats; } Stats;
/* Bandwidth Offset */ /* Bandwidth Offset */
#define HAL_PRIME_CHNL_OFFSET_DONT_CARE 0 #define HAL_PRIME_CHNL_OFFSET_DONT_CARE 0
#define HAL_PRIME_CHNL_OFFSET_LOWER 1 #define HAL_PRIME_CHNL_OFFSET_LOWER 1
#define HAL_PRIME_CHNL_OFFSET_UPPER 2 #define HAL_PRIME_CHNL_OFFSET_UPPER 2
typedef struct ChnlAccessSetting { typedef struct ChnlAccessSetting {
u16 SIFS_Timer; u16 SIFS_Timer;
u16 DIFS_Timer; u16 DIFS_Timer;
...@@ -757,7 +743,6 @@ typedef struct _ccktxbbgain_struct { ...@@ -757,7 +743,6 @@ typedef struct _ccktxbbgain_struct {
u8 ccktxbb_valuearray[8]; u8 ccktxbb_valuearray[8];
} ccktxbbgain_struct, *pccktxbbgain_struct; } ccktxbbgain_struct, *pccktxbbgain_struct;
typedef struct _init_gain { typedef struct _init_gain {
u8 xaagccore1; u8 xaagccore1;
u8 xbagccore1; u8 xbagccore1;
...@@ -793,7 +778,6 @@ typedef struct _phy_cck_rx_status_report_819xusb { ...@@ -793,7 +778,6 @@ typedef struct _phy_cck_rx_status_report_819xusb {
u8 cck_agc_rpt; u8 cck_agc_rpt;
} phy_sts_cck_819xusb_t; } phy_sts_cck_819xusb_t;
struct phy_ofdm_rx_status_rxsc_sgien_exintfflag { struct phy_ofdm_rx_status_rxsc_sgien_exintfflag {
u8 reserved:4; u8 reserved:4;
u8 rxsc:2; u8 rxsc:2;
...@@ -885,7 +869,6 @@ typedef struct r8192_priv { ...@@ -885,7 +869,6 @@ typedef struct r8192_priv {
short sens; short sens;
short max_sens; short max_sens;
short up; short up;
/* If 1, allow bad crc frame, reception in monitor mode */ /* If 1, allow bad crc frame, reception in monitor mode */
short crcmon; short crcmon;
...@@ -924,7 +907,6 @@ typedef struct r8192_priv { ...@@ -924,7 +907,6 @@ typedef struct r8192_priv {
short tx_urb_index; short tx_urb_index;
atomic_t tx_pending[0x10]; /* UART_PRIORITY + 1 */ atomic_t tx_pending[0x10]; /* UART_PRIORITY + 1 */
struct tasklet_struct irq_rx_tasklet; struct tasklet_struct irq_rx_tasklet;
struct urb *rxurb_task; struct urb *rxurb_task;
...@@ -937,7 +919,6 @@ typedef struct r8192_priv { ...@@ -937,7 +919,6 @@ typedef struct r8192_priv {
u32 LastRxDescTSFHigh; u32 LastRxDescTSFHigh;
u32 LastRxDescTSFLow; u32 LastRxDescTSFLow;
/* Rx Related variables */ /* Rx Related variables */
u16 EarlyRxThreshold; u16 EarlyRxThreshold;
u32 ReceiveConfig; u32 ReceiveConfig;
...@@ -1172,5 +1153,4 @@ void rtl819xusb_beacon_tx(struct net_device *dev, u16 tx_rate); ...@@ -1172,5 +1153,4 @@ void rtl819xusb_beacon_tx(struct net_device *dev, u16 tx_rate);
void EnableHWSecurityConfig8192(struct net_device *dev); void EnableHWSecurityConfig8192(struct net_device *dev);
void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent); void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment