mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08: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