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:
Родитель
17fc7004a3
Коммит
50f684b900
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче