فهرست منبع

ath10k: fix whitespace usage

checkpatch found:

drivers/net/wireless/ath/ath10k/core.c:574: Blank lines aren't necessary before a close brace '}'
drivers/net/wireless/ath/ath10k/mac.c:4067: Missing a blank line after declarations
drivers/net/wireless/ath/ath10k/mac.c:4083: Missing a blank line after declarations
drivers/net/wireless/ath/ath10k/mac.c:4084: spaces required around that '>>=' (ctx:WxV)
drivers/net/wireless/ath/ath10k/pci.c:1507: Missing a blank line after declarations

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Kalle Valo 10 سال پیش
والد
کامیت
9a14969fa1
3فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 0 1
      drivers/net/wireless/ath/ath10k/core.c
  2. 3 1
      drivers/net/wireless/ath/ath10k/mac.c
  3. 1 0
      drivers/net/wireless/ath/ath10k/pci.c

+ 0 - 1
drivers/net/wireless/ath/ath10k/core.c

@@ -570,7 +570,6 @@ static void ath10k_core_free_firmware_files(struct ath10k *ar)
 	ar->firmware_len = 0;
 	ar->firmware_len = 0;
 
 
 	ar->cal_file = NULL;
 	ar->cal_file = NULL;
-
 }
 }
 
 
 static int ath10k_fetch_cal_file(struct ath10k *ar)
 static int ath10k_fetch_cal_file(struct ath10k *ar)

+ 3 - 1
drivers/net/wireless/ath/ath10k/mac.c

@@ -4064,6 +4064,7 @@ static u32 get_nss_from_chainmask(u16 chain_mask)
 static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar)
 static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar)
 {
 {
 	int nsts = ar->vht_cap_info;
 	int nsts = ar->vht_cap_info;
+
 	nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK;
 	nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK;
 	nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT;
 	nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT;
 
 
@@ -4080,8 +4081,9 @@ static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar)
 static int ath10k_mac_get_vht_cap_bf_sound_dim(struct ath10k *ar)
 static int ath10k_mac_get_vht_cap_bf_sound_dim(struct ath10k *ar)
 {
 {
 	int sound_dim = ar->vht_cap_info;
 	int sound_dim = ar->vht_cap_info;
+
 	sound_dim &= IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_MASK;
 	sound_dim &= IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_MASK;
-	sound_dim >>=IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_SHIFT;
+	sound_dim >>= IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_SHIFT;
 
 
 	/* If the sounding dimension is not advertised by the firmware,
 	/* If the sounding dimension is not advertised by the firmware,
 	 * let's use a default value of 1
 	 * let's use a default value of 1

+ 1 - 0
drivers/net/wireless/ath/ath10k/pci.c

@@ -1504,6 +1504,7 @@ static void ath10k_pci_irq_enable(struct ath10k *ar)
 static int ath10k_pci_hif_start(struct ath10k *ar)
 static int ath10k_pci_hif_start(struct ath10k *ar)
 {
 {
 	struct ath10k_pci *ar_pci = ath10k_pci_priv(ar);
 	struct ath10k_pci *ar_pci = ath10k_pci_priv(ar);
+
 	ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot hif start\n");
 	ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot hif start\n");
 
 
 	ath10k_pci_irq_enable(ar);
 	ath10k_pci_irq_enable(ar);