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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to