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 <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
David Woodhouse 2007-12-15 01:57:12 -05:00 коммит произвёл David S. Miller
Родитель 183aeac1c4
Коммит ecfe9b487c
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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;
}