[PATCH] 2.6.9-rc1 - #ifdef cleanups in drivers/net

From: Valdis . Kletnieks
Date: Tue Aug 24 2004 - 09:37:37 EST


Here's the last of them for 2.6.9-rc1 - two more #if/#ifdef cleanups.

Signed-off-by: valdis.kletnieks@xxxxxx

--- 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



Attachment: pgp00000.pgp
Description: PGP signature