Commit c68b3bbd authored by Holger Schurig's avatar Holger Schurig Committed by David S. Miller

libertas: remove cmd_ctrl_node->status

There was no code that ever did set this variable.
Signed-off-by: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 891f32a1
...@@ -1667,7 +1667,6 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode) ...@@ -1667,7 +1667,6 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode)
return; return;
ptempnode->cmdwaitqwoken = 1; ptempnode->cmdwaitqwoken = 1;
wake_up_interruptible(&ptempnode->cmdwait_q); wake_up_interruptible(&ptempnode->cmdwait_q);
ptempnode->status = 0;
ptempnode->wait_option = 0; ptempnode->wait_option = 0;
ptempnode->pdata_buf = NULL; ptempnode->pdata_buf = NULL;
......
...@@ -68,7 +68,6 @@ struct rxpd { ...@@ -68,7 +68,6 @@ struct rxpd {
struct cmd_ctrl_node { struct cmd_ctrl_node {
/* CMD link list */ /* CMD link list */
struct list_head list; struct list_head list;
u32 status;
/*CMD wait option: wait for finish or no wait */ /*CMD wait option: wait for finish or no wait */
u16 wait_option; u16 wait_option;
/* command parameter */ /* command parameter */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment