mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
dfc7a8f7c8
commit
937a194ae8
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user