Commit 93665097 authored by Larry Finger's avatar Larry Finger Committed by Kalle Valo

rtlwifi: Fix blank line errors in main header files

The errors consist of multiple blank lines, and a missing blank line
after the declarations.

There are no code changes.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 1dc89bb9
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#define USB_HIGH_SPEED_BULK_SIZE 512 #define USB_HIGH_SPEED_BULK_SIZE 512
#define USB_FULL_SPEED_BULK_SIZE 64 #define USB_FULL_SPEED_BULK_SIZE 64
#define RTL_USB_MAX_TXQ_NUM 4 /* max tx queue */ #define RTL_USB_MAX_TXQ_NUM 4 /* max tx queue */
#define RTL_USB_MAX_EP_NUM 6 /* max ep number */ #define RTL_USB_MAX_EP_NUM 6 /* max ep number */
#define RTL_USB_MAX_TX_URBS_NUM 8 #define RTL_USB_MAX_TX_URBS_NUM 8
...@@ -53,11 +52,11 @@ static inline void _rtl_install_trx_info(struct rtl_usb *rtlusb, ...@@ -53,11 +52,11 @@ static inline void _rtl_install_trx_info(struct rtl_usb *rtlusb,
u32 ep_num) u32 ep_num)
{ {
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
info->rate_driver_data[0] = rtlusb; info->rate_driver_data[0] = rtlusb;
info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num; info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num;
} }
/* Add suspend/resume later */ /* Add suspend/resume later */
enum rtl_usb_state { enum rtl_usb_state {
USB_STATE_STOP = 0, USB_STATE_STOP = 0,
...@@ -133,8 +132,6 @@ struct rtl_usb_priv { ...@@ -133,8 +132,6 @@ struct rtl_usb_priv {
#define rtl_usbpriv(hw) (((struct rtl_usb_priv *)(rtl_priv(hw))->priv)) #define rtl_usbpriv(hw) (((struct rtl_usb_priv *)(rtl_priv(hw))->priv))
#define rtl_usbdev(usbpriv) (&((usbpriv)->dev)) #define rtl_usbdev(usbpriv) (&((usbpriv)->dev))
int rtl_usb_probe(struct usb_interface *intf, int rtl_usb_probe(struct usb_interface *intf,
const struct usb_device_id *id, const struct usb_device_id *id,
struct rtl_hal_cfg *rtl92cu_hal_cfg); struct rtl_hal_cfg *rtl92cu_hal_cfg);
......
...@@ -2143,7 +2143,6 @@ struct rtl_stats { ...@@ -2143,7 +2143,6 @@ struct rtl_stats {
u32 macid_valid_entry[2]; u32 macid_valid_entry[2];
}; };
struct rt_link_detect { struct rt_link_detect {
/* count for roaming */ /* count for roaming */
u32 bcn_rx_inperiod; u32 bcn_rx_inperiod;
...@@ -2843,7 +2842,6 @@ struct rtl_priv { ...@@ -2843,7 +2842,6 @@ struct rtl_priv {
#define rtl_efuse(rtlpriv) (&((rtlpriv)->efuse)) #define rtl_efuse(rtlpriv) (&((rtlpriv)->efuse))
#define rtl_psc(rtlpriv) (&((rtlpriv)->psc)) #define rtl_psc(rtlpriv) (&((rtlpriv)->psc))
/* Bluetooth Co-existence Related */ /* Bluetooth Co-existence Related */
enum bt_ant_num { enum bt_ant_num {
...@@ -2893,7 +2891,6 @@ enum bt_radio_shared { ...@@ -2893,7 +2891,6 @@ enum bt_radio_shared {
BT_RADIO_INDIVIDUAL = 1, BT_RADIO_INDIVIDUAL = 1,
}; };
/**************************************** /****************************************
* mem access macro define start * mem access macro define start
* Call endian free function when * Call endian free function when
...@@ -3229,6 +3226,7 @@ static inline struct ieee80211_sta *rtl_find_sta(struct ieee80211_hw *hw, ...@@ -3229,6 +3226,7 @@ static inline struct ieee80211_sta *rtl_find_sta(struct ieee80211_hw *hw,
u8 *mac_addr) u8 *mac_addr)
{ {
struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
return ieee80211_find_sta(mac->vif, mac_addr); return ieee80211_find_sta(mac->vif, mac_addr);
} }
......
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