diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-20 11:07:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-21 19:00:17 +0300 |
commit | 133dc88053de92998e773aac49c54d037529f7af (patch) | |
tree | 6770ab60b04bf854bc460873e4e55f23f0b0c597 /drivers/net/ethernet/amd | |
parent | ec3ed293e76656c1fb5388249e1e61c7d274abfc (diff) | |
download | linux-133dc88053de92998e773aac49c54d037529f7af.tar.xz |
net: amd: remove redundant continue
The continue will not truely skip any code. hence it is safe to
remove it.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd')
-rw-r--r-- | drivers/net/ethernet/amd/ni65.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/amd/ni65.c b/drivers/net/ethernet/amd/ni65.c index e248d1ab3e47..8931ce6bab7b 100644 --- a/drivers/net/ethernet/amd/ni65.c +++ b/drivers/net/ethernet/amd/ni65.c @@ -435,10 +435,8 @@ static int __init ni65_probe1(struct net_device *dev,int ioaddr) } if(cards[i].vendor_id) { for(j=0;j<3;j++) - if(inb(ioaddr+cards[i].addr_offset+j) != cards[i].vendor_id[j]) { + if(inb(ioaddr+cards[i].addr_offset+j) != cards[i].vendor_id[j]) release_region(ioaddr, cards[i].total_size); - continue; - } } break; } |