iwlwifi: remove unused parameter in iwl_priv
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 7 May 2010 22:31:05 +0000 (15:31 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Sun, 6 Jun 2010 06:15:28 +0000 (23:15 -0700)
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>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl3945-base.c

index 7c63c0619f2aaa26ec8720e46389420bc35cfed6..021b01494a2a576dd144168bba917704f71a6f63 100644 (file)
@@ -3686,9 +3686,6 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
        priv->pci_dev = pdev;
        priv->inta_mask = CSR_INI_SET_MASK;
 
-#ifdef CONFIG_IWLWIFI_DEBUG
-       atomic_set(&priv->restrict_refcnt, 0);
-#endif
        if (iwl_alloc_traffic_mem(priv))
                IWL_ERR(priv, "Not enough memory to generate traffic log\n");
 
index f359d9f733d912dc50eadf3737f321f5cdf5b764..8b7731a9a20c5ddd9e640fad66496d1a66dffad2 100644 (file)
@@ -1346,7 +1346,6 @@ struct iwl_priv {
        u32 debug_level; /* per device debugging will override global
                            iwl_debug_level if set */
        u32 framecnt_to_us;
-       atomic_t restrict_refcnt;
 #endif /* CONFIG_IWLWIFI_DEBUG */
 #ifdef CONFIG_IWLWIFI_DEBUGFS
        /* debugfs */
index 35471cfc7de0d4f89b092880a464aa98ac049b6a..f2ec752c669780c89700996a08f31c7c5c5587ac 100644 (file)
@@ -3946,9 +3946,6 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e
        priv->pci_dev = pdev;
        priv->inta_mask = CSR_INI_SET_MASK;
 
-#ifdef CONFIG_IWLWIFI_DEBUG
-       atomic_set(&priv->restrict_refcnt, 0);
-#endif
        if (iwl_alloc_traffic_mem(priv))
                IWL_ERR(priv, "Not enough memory to generate traffic log\n");