diff options
-rw-r--r-- | 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 9c73902ca86f..fd321ddf596e 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) | |||
1761 | 1761 | ||
1762 | spin_unlock_irqrestore(&priv->driver_lock, flags); | 1762 | spin_unlock_irqrestore(&priv->driver_lock, flags); |
1763 | 1763 | ||
1764 | if (tempnode) | ||
1765 | cleanup_cmdnode(tempnode); | ||
1766 | |||
1767 | lbs_deb_leave(LBS_DEB_HOST); | 1764 | lbs_deb_leave(LBS_DEB_HOST); |
1768 | return tempnode; | 1765 | return tempnode; |
1769 | } | 1766 | } |