Commit 937a194a authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo
Browse files

ipw2x00: remove redundant assignment to err



Variable err is initialized to a value that is never read and it
is re-assigned later.  The initialization is redundant and can
be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent dfc7a8f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4413,7 +4413,7 @@ static void ipw2100_kill_works(struct ipw2100_priv *priv)

static int ipw2100_tx_allocate(struct ipw2100_priv *priv)
{
	int i, j, err = -EINVAL;
	int i, j, err;
	void *v;
	dma_addr_t p;