[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46CC316D.2020906@googlemail.com>
Date: Wed, 22 Aug 2007 14:51:57 +0200
From: Michal Piotrowski <michal.k.k.piotrowski@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Netdev <netdev@...r.kernel.org>,
Linux NICS <linux.nics@...el.com>,
e1000-devel@...ts.sourceforge.net
Subject: [PATCH -mm] drivers/net/e1000e/netdev.c warning fix
Hi,
This patch fixes the following compilation warning
drivers/net/e1000e/netdev.c: In function ‘e1000_setup_rctl’:
drivers/net/e1000e/netdev.c:1963: warning: unused variable ‘pages’
Regards,
Michal
--
LOG
http://www.stardust.webpages.pl/log/
--- linux-mm-clean/drivers/net/e1000e/netdev.c 2007-08-22 12:20:31.000000000 +0200
+++ linux-work/drivers/net/e1000e/netdev.c 2007-08-22 14:44:58.000000000 +0200
@@ -1960,7 +1960,10 @@ static void e1000_setup_rctl(struct e100
struct e1000_hw *hw = &adapter->hw;
u32 rctl, rfctl;
u32 psrctl = 0;
+
+#ifndef CONFIG_E1000_DISABLE_PACKET_SPLIT
u32 pages = 0;
+#endif
/* Program MC offset vector base */
rctl = er32(RCTL);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists