lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.6.9-rc1 - #ifdef cleanups in drivers/net
From
Date
Here's the last of them for 2.6.9-rc1 - two more #if/#ifdef cleanups.

Signed-off-by: valdis.kletnieks@vt.edu

--- linux-2.6.9-rc1/drivers/net/amd8111e.c.ifdef 2004-08-14 01:37:14.000000000 -0400
+++ linux-2.6.9-rc1/drivers/net/amd8111e.c 2004-08-24 10:29:53.000000000 -0400
@@ -719,7 +719,7 @@ static int amd8111e_tx(struct net_device
return 0;
}

-#if CONFIG_AMD8111E_NAPI
+#ifdef CONFIG_AMD8111E_NAPI
/* This function handles the driver receive operation in polling mode */
static int amd8111e_rx_poll(struct net_device *dev, int * budget)
{
--- linux-2.6.9-rc1/drivers/net/via-velocity.h.ifdef 2004-08-24 08:43:44.000000000 -0400
+++ linux-2.6.9-rc1/drivers/net/via-velocity.h 2004-08-24 10:32:54.651164315 -0400
@@ -1740,7 +1740,7 @@ struct velocity_info {
struct net_device *dev;
struct net_device_stats stats;

-#if CONFIG_PM
+#ifdef CONFIG_PM
u32 pci_state[16];
#endif


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.035 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site