diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-05-07 18:31:05 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-06-06 02:15:28 -0400 |
commit | ae0bce029e3b96d3ba2cc868bc6a65a125666ab8 (patch) | |
tree | a1142dbcb207d94ba31724ccc08720a970cbb6ed | |
parent | f43084498b42c11054a8218b445ff6491c35bcdc (diff) |
iwlwifi: remove unused parameter in iwl_priv
restrict_refcnt is no longer used, remove it from iwl_priv
structure
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 3 |
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 | ||