projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29fea20
)
ethernet: nvidia: Remove extra parens
author
David Wood
<devel@dtwood.uk>
Mon, 1 Sep 2014 22:31:55 +0000
(15:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 2 Sep 2014 20:47:25 +0000
(13:47 -0700)
Remove unnecessary double parenthesis around if statement.
Signed-off-by: David Wood <devel@dtwood.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/nvidia/forcedeth.c
b/drivers/net/ethernet/nvidia/forcedeth.c
index 925b296d8ab84d8497d5a85b2bd5dda8b0c08aa9..f39cae620f61568688c79415c6dbf9ebbf96ff90 100644
(file)
--- a/
drivers/net/ethernet/nvidia/forcedeth.c
+++ b/
drivers/net/ethernet/nvidia/forcedeth.c
@@
-1481,7
+1481,7
@@
static int phy_init(struct net_device *dev)
}
/* phy vendor specific configuration */
- if (
(np->phy_oui == PHY_OUI_CICADA)
) {
+ if (
np->phy_oui == PHY_OUI_CICADA
) {
if (init_cicada(dev, np, phyinterface)) {
netdev_info(dev, "%s: phy init failed\n",
pci_name(np->pci_dev));