projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183aeac
)
libertas: don't re-initialise cmdnode when taking it off the free queue
author
David Woodhouse
<dwmw2@infradead.org>
Sat, 15 Dec 2007 06:57:12 +0000
(
01:57
-0500)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:07:32 +0000
(15:07 -0800)
We initialise it when we add it to the queue. No need to do it again.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/cmd.c
b/drivers/net/wireless/libertas/cmd.c
index
9c73902
..
fd321dd
100644
(file)
--- a/
drivers/net/wireless/libertas/cmd.c
+++ b/
drivers/net/wireless/libertas/cmd.c
@@
-1761,9
+1761,6
@@
static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv)
spin_unlock_irqrestore(&priv->driver_lock, flags);
- if (tempnode)
- cleanup_cmdnode(tempnode);
-
lbs_deb_leave(LBS_DEB_HOST);
return tempnode;
}