aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid Wood <devel@dtwood.uk>2014-09-01 15:31:55 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-02 13:47:25 -0700
commitd46781bc8803b11d4f9540663ce6369fa0d28c58 (patch)
tree30b26cb636b53d112afe503c44ca65d2bbaabf2b /drivers/net
parentMerge branch 'netdev_modified' (diff)
downloadlinux-dev-d46781bc8803b11d4f9540663ce6369fa0d28c58.tar.xz
linux-dev-d46781bc8803b11d4f9540663ce6369fa0d28c58.zip
ethernet: nvidia: Remove extra parens
Remove unnecessary double parenthesis around if statement. Signed-off-by: David Wood <devel@dtwood.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/nvidia/forcedeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 925b296d8ab8..f39cae620f61 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));