[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140901223152.GA3066@dtw-laptop.attlocal.net>
Date: Mon, 1 Sep 2014 15:31:55 -0700
From: David Wood <devel@...ood.uk>
To: netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Alexander Gordeev <agordeev@...hat.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Antonio Ospite <ao2@....it>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Jiri Pirko <jiri@...nulli.us>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
Wilfried Klaebe <w-lkml@...enslange-mailadresse.de>,
Ivan Vecera <ivecera@...hat.com>, linux-kernel@...r.kernel.org,
trivial@...nel.org
Subject: [PATCH] ethernet: nvidia: Remove extra parens
Remove unnecessary double parenthesis around if statement.
Signed-off-by: David Wood <devel@...ood.uk>
---
drivers/net/ethernet/nvidia/forcedeth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 925b296..f39cae6 100644
--- 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));
--
2.0.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists