OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efa3a6
)
iwlwifi: remove stray mutex_unlock()
author
Dan Carpenter
<error27@gmail.com>
Sat, 8 May 2010 16:21:01 +0000
(18:21 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 10 May 2010 18:56:46 +0000
(14:56 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-3945.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-3945.c
b/drivers/net/wireless/iwlwifi/iwl-3945.c
index
9dad867
..
3faa78c
100644
(file)
--- 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)
&priv->_3945.shared_phys, GFP_KERNEL);
if (!priv->_3945.shared_virt) {
IWL_ERR(priv, "failed to allocate pci memory\n");
- mutex_unlock(&priv->mutex);
return -ENOMEM;
}