netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ethernet: nvidia: Remove extra parens
@ 2014-09-01 22:31 David Wood
  2014-09-02 20:47 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: David Wood @ 2014-09-01 22:31 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Alexander Gordeev, Eric W. Biederman,
	Antonio Ospite, Paul Gortmaker, Jiri Pirko, Jeff Kirsher,
	Wilfried Klaebe, Ivan Vecera, linux-kernel, trivial

Remove unnecessary double parenthesis around if statement.

Signed-off-by: David Wood <devel@dtwood.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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ethernet: nvidia: Remove extra parens
  2014-09-01 22:31 [PATCH] ethernet: nvidia: Remove extra parens David Wood
@ 2014-09-02 20:47 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-09-02 20:47 UTC (permalink / raw)
  To: devel
  Cc: netdev, agordeev, ebiederm, ao2, paul.gortmaker, jiri,
	jeffrey.t.kirsher, w-lkml, ivecera, linux-kernel, trivial

From: David Wood <devel@dtwood.uk>
Date: Mon, 1 Sep 2014 15:31:55 -0700

> Remove unnecessary double parenthesis around if statement.
> 
> Signed-off-by: David Wood <devel@dtwood.uk>

Applied, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-02 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01 22:31 [PATCH] ethernet: nvidia: Remove extra parens David Wood
2014-09-02 20:47 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).