mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
xircom: remove redundant error check on variable err
The error check on err is always false as err is always 0 at the port_found label. The code is redundant and can be removed. Addresses-Coverity: ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
33b32a2984
commit
7b3ae17f0f
@ -798,8 +798,6 @@ xirc2ps_config(struct pcmcia_device * link)
|
||||
goto config_error;
|
||||
}
|
||||
port_found:
|
||||
if (err)
|
||||
goto config_error;
|
||||
|
||||
/****************
|
||||
* Now allocate an interrupt line. Note that this does not
|
||||
|
Loading…
Reference in New Issue
Block a user