atl1e: multistatement if missing braces
Doesn't cause problems (yet) because err gets zeroed earlier. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
17fc7004a3
commit
50f684b900
1 changed files with 2 additions and 1 deletions
|
@ -2232,10 +2232,11 @@ static int atl1e_resume(struct pci_dev *pdev)
|
|||
|
||||
AT_WRITE_REG(&adapter->hw, REG_WOL_CTRL, 0);
|
||||
|
||||
if (netif_running(netdev))
|
||||
if (netif_running(netdev)) {
|
||||
err = atl1e_request_irq(adapter);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
||||
atl1e_reset_hw(&adapter->hw);
|
||||
|
||||
|
|
Loading…
Reference in a new issue