projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17fc700
)
atl1e: multistatement if missing braces
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Tue, 19 Aug 2008 07:32:06 +0000
(10:32 +0300)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 27 Aug 2008 09:36:20 +0000
(
05:36
-0400)
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>
drivers/net/atl1e/atl1e_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/atl1e/atl1e_main.c
b/drivers/net/atl1e/atl1e_main.c
index 82d7be1655d3bd62ba048d518e2329f2645b204b..7685b995ff9b5d0ad20ab8bf2bc3ae7f8a1510f0 100644
(file)
--- 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);