From: David Wood <devel@dtwood.uk>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Alexander Gordeev <agordeev@redhat.com>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Antonio Ospite <ao2@ao2.it>,
Paul Gortmaker <paul.gortmaker@windriver.com>,
Jiri Pirko <jiri@resnulli.us>,
Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
Wilfried Klaebe <w-lkml@lebenslange-mailadresse.de>,
Ivan Vecera <ivecera@redhat.com>,
linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: [PATCH] ethernet: nvidia: Remove extra parens
Date: Mon, 1 Sep 2014 15:31:55 -0700 [thread overview]
Message-ID: <20140901223152.GA3066@dtw-laptop.attlocal.net> (raw)
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
next reply other threads:[~2014-09-01 22:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-01 22:31 David Wood [this message]
2014-09-02 20:47 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140901223152.GA3066@dtw-laptop.attlocal.net \
--to=devel@dtwood.uk \
--cc=agordeev@redhat.com \
--cc=ao2@ao2.it \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=ivecera@redhat.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jiri@resnulli.us \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=trivial@kernel.org \
--cc=w-lkml@lebenslange-mailadresse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®