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

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
...@@ -4413,7 +4413,7 @@ static void ipw2100_kill_works(struct ipw2100_priv *priv) ...@@ -4413,7 +4413,7 @@ static void ipw2100_kill_works(struct ipw2100_priv *priv)
static int ipw2100_tx_allocate(struct ipw2100_priv *priv) static int ipw2100_tx_allocate(struct ipw2100_priv *priv)
{ {
int i, j, err = -EINVAL; int i, j, err;
void *v; void *v;
dma_addr_t p; dma_addr_t p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment