diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-15 01:53:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:47:51 -0400 |
commit | 0b794d63c5db8d010d1584c694eba97f0391fca6 (patch) | |
tree | 6da2aeb1a16cedc7f3c000daaaf54b2880346209 | |
parent | 02883017607dfc60ff188980368adbe942823492 (diff) |
iwlwifi: remove iwl4965_nic_start function
This patch moves the contant of iwl4965_nic_start to the only place it is
being used.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index d0f948d2cfab..1a2d3768867d 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -3958,13 +3958,6 @@ static void iwl4965_dealloc_ucode_pci(struct iwl_priv *priv) | |||
3958 | iwl_free_fw_desc(priv->pci_dev, &priv->ucode_boot); | 3958 | iwl_free_fw_desc(priv->pci_dev, &priv->ucode_boot); |
3959 | } | 3959 | } |
3960 | 3960 | ||
3961 | static void iwl4965_nic_start(struct iwl_priv *priv) | ||
3962 | { | ||
3963 | /* Remove all resets to allow NIC to operate */ | ||
3964 | iwl_write32(priv, CSR_RESET, 0); | ||
3965 | } | ||
3966 | |||
3967 | |||
3968 | /** | 3961 | /** |
3969 | * iwl4965_read_ucode - Read uCode images from disk file. | 3962 | * iwl4965_read_ucode - Read uCode images from disk file. |
3970 | * | 3963 | * |
@@ -4454,7 +4447,8 @@ static int __iwl4965_up(struct iwl_priv *priv) | |||
4454 | } | 4447 | } |
4455 | 4448 | ||
4456 | /* start card; "initialize" will load runtime ucode */ | 4449 | /* start card; "initialize" will load runtime ucode */ |
4457 | iwl4965_nic_start(priv); | 4450 | /* Remove all resets to allow NIC to operate */ |
4451 | iwl_write32(priv, CSR_RESET, 0); | ||
4458 | 4452 | ||
4459 | IWL_DEBUG_INFO(DRV_NAME " is coming up\n"); | 4453 | IWL_DEBUG_INFO(DRV_NAME " is coming up\n"); |
4460 | 4454 | ||