Commit 84a9d1e2 authored by Valdis Kletnieks's avatar Valdis Kletnieks Committed by Linus Torvalds

[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: <valdis.kletnieks@vt.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 70417c15
...@@ -719,7 +719,7 @@ static int amd8111e_tx(struct net_device *dev) ...@@ -719,7 +719,7 @@ static int amd8111e_tx(struct net_device *dev)
return 0; return 0;
} }
#if CONFIG_AMD8111E_NAPI #ifdef CONFIG_AMD8111E_NAPI
/* This function handles the driver receive operation in polling mode */ /* This function handles the driver receive operation in polling mode */
static int amd8111e_rx_poll(struct net_device *dev, int * budget) static int amd8111e_rx_poll(struct net_device *dev, int * budget)
{ {
......
...@@ -1739,7 +1739,7 @@ struct velocity_info { ...@@ -1739,7 +1739,7 @@ struct velocity_info {
struct net_device *dev; struct net_device *dev;
struct net_device_stats stats; struct net_device_stats stats;
#if CONFIG_PM #ifdef CONFIG_PM
u32 pci_state[16]; u32 pci_state[16];
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment