瀏覽代碼

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>
Holger Schurig 17 年之前
父節點
當前提交
c68b3bbdb5
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      drivers/net/wireless/libertas/cmd.c
  2. 0 1
      drivers/net/wireless/libertas/hostcmd.h

+ 0 - 1
drivers/net/wireless/libertas/cmd.c

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

+ 0 - 1
drivers/net/wireless/libertas/hostcmd.h

@@ -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 */