netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pch_gbe: compilation warning in pch_gbe_setup_rctl() fixed
@ 2011-10-07  7:59 Vasily Averin
  2011-10-19  3:28 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Averin @ 2011-10-07  7:59 UTC (permalink / raw)
  To: netdev; +Cc: David S. Miller, Toshiharu Okada, Vasily Averin

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

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

end of thread, other threads:[~2011-10-19  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07  7:59 [PATCH] pch_gbe: compilation warning in pch_gbe_setup_rctl() fixed Vasily Averin
2011-10-19  3:28 ` 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).