Skip to contentSkip to conversation

eepro100 kill obsolete ifdefs

PATCH Pavel Machek 1 participant 1 message Jan 12, 2005 Network drivers

lore
Share & tools
lore
#0 lore raw

Hi!

pci layer should provide enough dummy functions for such ugly hacks to be unneccessary these days. Please apply,

Pavel

drivers/net/eepro100.c +0 -10
@@ -152,16 +152,6 @@
 
 #define RUN_AT(x) (jiffies + (x))
 
-/* ACPI power states don't universally work (yet) */
-#ifndef CONFIG_PM
-#undef pci_set_power_state
-#define pci_set_power_state null_set_power_state
-static inline int null_set_power_state(struct pci_dev *dev, int state)
-{
-	return 0;
-}
-#endif /* CONFIG_PM */
-
 #define netdevice_start(dev)
 #define netdevice_stop(dev)
 #define netif_set_tx_timeout(dev, tf, tm) \
Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!