Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 891f32a1 authored by Holger Schurig's avatar Holger Schurig Committed by David S. Miller
Browse files

libertas: remove cmd_ctrl_node->cmdflags



There was no code that ever did set this flag.

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 e775ed7c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -856,13 +856,6 @@ int lbs_process_rx_command(struct lbs_private *priv)
		goto done;
	}

	if (adapter->cur_cmd->cmdflags & CMD_F_HOSTCMD) {
		/* Copy the response back to response buffer */
		memcpy(adapter->cur_cmd->pdata_buf, resp,
		       le16_to_cpu(resp->size));
		adapter->cur_cmd->cmdflags &= ~CMD_F_HOSTCMD;
	}

	/* If the command is not successful, cleanup and return failure */
	if ((result != 0 || !(respcmd & 0x8000))) {
		lbs_deb_host("CMD_RESP: error 0x%04x in command reply 0x%04x\n",
+0 −1
Original line number Diff line number Diff line
@@ -75,7 +75,6 @@ struct cmd_ctrl_node {
	void *pdata_buf;
	/*command data */
	u8 *bufvirtualaddr;
	u16 cmdflags;
	/* wait queue */
	u16 cmdwaitqwoken;
	wait_queue_head_t cmdwait_q;