OSDN Git Service
(root)
/
android-x86
/
kernel.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
|
history
diff --git
a/drivers/net/ethernet/nvidia/forcedeth.c
b/drivers/net/ethernet/nvidia/forcedeth.c
index
925b296
..
f39cae6
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));