From 84a9d1e225868703873966372953d903de787bbb Mon Sep 17 00:00:00 2001 From: Valdis Kletnieks Date: Thu, 26 Aug 2004 20:42:39 -0700 Subject: [PATCH] [PATCH] #ifdef cleanups in drivers/net Here's the last of them for 2.6.9-rc1 - two more #if/#ifdef cleanups. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/net/amd8111e.c | 2 +- drivers/net/via-velocity.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index ca57a7a5330f9..91fa987dc8a86 100755 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c @@ -719,7 +719,7 @@ static int amd8111e_tx(struct net_device *dev) 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) { diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h index b2c05a8a1aa30..1e88c9e358b10 100644 --- a/drivers/net/via-velocity.h +++ b/drivers/net/via-velocity.h @@ -1739,7 +1739,7 @@ struct velocity_info { struct net_device *dev; struct net_device_stats stats; -#if CONFIG_PM +#ifdef CONFIG_PM u32 pci_state[16]; #endif -- 2.53.0