提交 c68b3bbd 编写于 作者: H Holger Schurig 提交者: David S. Miller

libertas: remove cmd_ctrl_node->status

There was no code that ever did set this variable.
Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 891f32a1
......@@ -1667,7 +1667,6 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode)
return;
ptempnode->cmdwaitqwoken = 1;
wake_up_interruptible(&ptempnode->cmdwait_q);
ptempnode->status = 0;
ptempnode->wait_option = 0;
ptempnode->pdata_buf = NULL;
......
......@@ -68,7 +68,6 @@ struct rxpd {
struct cmd_ctrl_node {
/* CMD link list */
struct list_head list;
u32 status;
/*CMD wait option: wait for finish or no wait */
u16 wait_option;
/* command parameter */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册