From: Ilpo Järvinen Date: Tue, 19 Aug 2008 07:32:06 +0000 (+0300) Subject: atl1e: multistatement if missing braces X-Git-Tag: v2.6.27-rc5~8^2~4^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=50f684b900de431729d6f77e69c941560936f275;p=linux-2.6-omap-h63xx.git atl1e: multistatement if missing braces Doesn't cause problems (yet) because err gets zeroed earlier. Signed-off-by: Ilpo Järvinen Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c index 82d7be1655d..7685b995ff9 100644 --- a/drivers/net/atl1e/atl1e_main.c +++ b/drivers/net/atl1e/atl1e_main.c @@ -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);