From: Vasily Averin <vvs@parallels.com>
To: <netdev@vger.kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>,
Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>,
Vasily Averin <vvs@sw.ru>
Subject: [PATCH] pch_gbe: compilation warning in pch_gbe_setup_rctl() fixed
Date: Fri, 7 Oct 2011 11:59:19 +0400 [thread overview]
Message-ID: <1317974359-20548-1-git-send-email-vvs@parallels.com> (raw)
From: Vasily Averin <vvs@sw.ru>
compilation warning fixed
drivers/net/pch_gbe/pch_gbe_main.c: In function ‘pch_gbe_setup_rctl’:
drivers/net/pch_gbe/pch_gbe_main.c:701:21: warning: unused variable ‘netdev’
Signed-off-by: Vasily Averin <vvs@sw.ru>
---
drivers/net/pch_gbe/pch_gbe_main.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/pch_gbe/pch_gbe_main.c b/drivers/net/pch_gbe/pch_gbe_main.c
index b8b4ba2..7659324 100644
--- a/drivers/net/pch_gbe/pch_gbe_main.c
+++ b/drivers/net/pch_gbe/pch_gbe_main.c
@@ -698,7 +698,6 @@ static void pch_gbe_configure_tx(struct pch_gbe_adapter *adapter)
*/
static void pch_gbe_setup_rctl(struct pch_gbe_adapter *adapter)
{
- struct net_device *netdev = adapter->netdev;
struct pch_gbe_hw *hw = &adapter->hw;
u32 rx_mode, tcpip;
--
1.7.4.1
next reply other threads:[~2011-10-07 7:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-07 7:59 Vasily Averin [this message]
2011-10-19 3:28 ` [PATCH] pch_gbe: compilation warning in pch_gbe_setup_rctl() fixed 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=1317974359-20548-1-git-send-email-vvs@parallels.com \
--to=vvs@parallels.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=toshiharu-linux@dsn.okisemi.com \
--cc=vvs@sw.ru \
/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;
as well as URLs for NNTP newsgroup(s).