aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <h.schurig@mn-solutions.de>2007-12-05 11:57:58 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:06:02 -0500
commitc68b3bbdb596b5f82f1f0731f6fcb210735aff39 (patch)
treef9019c5ef50307b8c958dee58f75f0204abfd2a8
parent891f32a1c4fe5c57f15873fa1d9fff425b30ab4d (diff)
libertas: remove cmd_ctrl_node->status
There was no code that ever did set this variable. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/cmd.c1
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 6658590ca6e3..43dde7eec758 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -1667,7 +1667,6 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode)
1667 return; 1667 return;
1668 ptempnode->cmdwaitqwoken = 1; 1668 ptempnode->cmdwaitqwoken = 1;
1669 wake_up_interruptible(&ptempnode->cmdwait_q); 1669 wake_up_interruptible(&ptempnode->cmdwait_q);
1670 ptempnode->status = 0;
1671 ptempnode->wait_option = 0; 1670 ptempnode->wait_option = 0;
1672 ptempnode->pdata_buf = NULL; 1671 ptempnode->pdata_buf = NULL;
1673 1672
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index 217ae122fca9..f096d995194a 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -68,7 +68,6 @@ struct rxpd {
68struct cmd_ctrl_node { 68struct cmd_ctrl_node {
69 /* CMD link list */ 69 /* CMD link list */
70 struct list_head list; 70 struct list_head list;
71 u32 status;
72 /*CMD wait option: wait for finish or no wait */ 71 /*CMD wait option: wait for finish or no wait */
73 u16 wait_option; 72 u16 wait_option;
74 /* command parameter */ 73 /* command parameter */