Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ecfe9b487c0d3f6b7ad58006888a56f01ae52b58
Commit:     ecfe9b487c0d3f6b7ad58006888a56f01ae52b58
Parent:     183aeac1c49869ba9a14c7ead86ce268da397a0e
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Sat Dec 15 01:57:12 2007 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:07:32 2008 -0800

    libertas: don't re-initialise cmdnode when taking it off the free queue
    
    We initialise it when we add it to the queue. No need to do it again.
    
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/cmd.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/libertas/cmd.c 
b/drivers/net/wireless/libertas/cmd.c
index 9c73902..fd321dd 100644
--- 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;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to