From: Holger Schurig Date: Wed, 5 Dec 2007 16:57:58 +0000 (+0100) Subject: libertas: remove cmd_ctrl_node->status X-Git-Tag: v2.6.25-rc1~1162^2~441 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c68b3bbdb596b5f82f1f0731f6fcb210735aff39;p=linux-2.6 libertas: remove cmd_ctrl_node->status There was no code that ever did set this variable. Signed-off-by: Holger Schurig Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 6658590ca6..43dde7eec7 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) return; ptempnode->cmdwaitqwoken = 1; wake_up_interruptible(&ptempnode->cmdwait_q); - ptempnode->status = 0; ptempnode->wait_option = 0; ptempnode->pdata_buf = NULL; diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index 217ae122fc..f096d99519 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/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 */