diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-08 12:21:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-10 14:56:46 -0400 |
commit | 7ada88e5e5d7b465de8d0441b4a8d890a602074f (patch) | |
tree | c7ad0264ba6ca6a0bc2ff716872b27554bafcca0 /drivers/net/wireless | |
parent | 5efa3a6bf4dd1674920d7419cbde9d731cdb61f1 (diff) |
iwlwifi: remove stray mutex_unlock()
This mutex_unlock() has been here from the initial commit, but as nearly
as I can tell, there isn't a reason for it.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 9dad8672d700..3faa78ceaed1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2482,7 +2482,6 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv) | |||
2482 | &priv->_3945.shared_phys, GFP_KERNEL); | 2482 | &priv->_3945.shared_phys, GFP_KERNEL); |
2483 | if (!priv->_3945.shared_virt) { | 2483 | if (!priv->_3945.shared_virt) { |
2484 | IWL_ERR(priv, "failed to allocate pci memory\n"); | 2484 | IWL_ERR(priv, "failed to allocate pci memory\n"); |
2485 | mutex_unlock(&priv->mutex); | ||
2486 | return -ENOMEM; | 2485 | return -ENOMEM; |
2487 | } | 2486 | } |
2488 | 2487 | ||