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>
This commit is contained in:
parent
ec3ed293e7
commit
133dc88053
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user