aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c3
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h1
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c3
3 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 7c63c0619f2a..021b01494a2a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3686,9 +3686,6 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
3686 priv->pci_dev = pdev; 3686 priv->pci_dev = pdev;
3687 priv->inta_mask = CSR_INI_SET_MASK; 3687 priv->inta_mask = CSR_INI_SET_MASK;
3688 3688
3689#ifdef CONFIG_IWLWIFI_DEBUG
3690 atomic_set(&priv->restrict_refcnt, 0);
3691#endif
3692 if (iwl_alloc_traffic_mem(priv)) 3689 if (iwl_alloc_traffic_mem(priv))
3693 IWL_ERR(priv, "Not enough memory to generate traffic log\n"); 3690 IWL_ERR(priv, "Not enough memory to generate traffic log\n");
3694 3691
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index f359d9f733d9..8b7731a9a20c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1346,7 +1346,6 @@ struct iwl_priv {
1346 u32 debug_level; /* per device debugging will override global 1346 u32 debug_level; /* per device debugging will override global
1347 iwl_debug_level if set */ 1347 iwl_debug_level if set */
1348 u32 framecnt_to_us; 1348 u32 framecnt_to_us;
1349 atomic_t restrict_refcnt;
1350#endif /* CONFIG_IWLWIFI_DEBUG */ 1349#endif /* CONFIG_IWLWIFI_DEBUG */
1351#ifdef CONFIG_IWLWIFI_DEBUGFS 1350#ifdef CONFIG_IWLWIFI_DEBUGFS
1352 /* debugfs */ 1351 /* debugfs */
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 35471cfc7de0..f2ec752c6697 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -3946,9 +3946,6 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e
3946 priv->pci_dev = pdev; 3946 priv->pci_dev = pdev;
3947 priv->inta_mask = CSR_INI_SET_MASK; 3947 priv->inta_mask = CSR_INI_SET_MASK;
3948 3948
3949#ifdef CONFIG_IWLWIFI_DEBUG
3950 atomic_set(&priv->restrict_refcnt, 0);
3951#endif
3952 if (iwl_alloc_traffic_mem(priv)) 3949 if (iwl_alloc_traffic_mem(priv))
3953 IWL_ERR(priv, "Not enough memory to generate traffic log\n"); 3950 IWL_ERR(priv, "Not enough memory to generate traffic log\n");
3954 3951