Skip to contentSkip to conversation

ethernet: nvidia: Remove extra parens

PATCH Applied David Wood 2 participants 2 messages Sep 1, 2014 – Sep 2, 2014

Subsystems (3)
lore
Share & tools
lore

David Wood

author
#0 lore raw

PATCH 1/1 ethernet: nvidia: Remove extra parens

Remove unnecessary double parenthesis around if statement.

---
 drivers/net/ethernet/nvidia/forcedeth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/nvidia/forcedeth.c +1 -1
index 925b296..f39cae6 100644
@@ -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));
Signature · 1 line
2.0.3