Skip to content

Commit

Permalink
atl1e: multistatement if missing braces
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ilpo Järvinen authored and Jeff Garzik committed Aug 27, 2008
1 parent 17fc700 commit 50f684b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/atl1e/atl1e_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 50f684b

Please sign in to comment.