]> err.no Git - linux-2.6/commitdiff
libertas: remove cmd_ctrl_node->status
authorHolger Schurig <h.schurig@mn-solutions.de>
Wed, 5 Dec 2007 16:57:58 +0000 (17:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:02 +0000 (15:06 -0800)
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>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/hostcmd.h

index 6658590ca6e3f7c277776c5dcdb1e444c29efd72..43dde7eec7584453123dc20b19c43fa496056ac8 100644 (file)
@@ -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;
 
index 217ae122fca9deae281560b72cc180af3b5d54bc..f096d995194a00628554bca169eddd5a44efd7f5 100644 (file)
@@ -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 */