eepro100 kill obsolete ifdefs

From: Pavel Machek
Date: Wed Jan 12 2005 - 08:29:08 EST


Hi!

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

Signed-off-by: Pavel Machek <pavel@xxxxxx>
Pavel


--- clean/drivers/net/eepro100.c 2005-01-12 11:07:39.000000000 +0100
+++ linux/drivers/net/eepro100.c 2005-01-12 11:22:37.000000000 +0100
@@ -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) \

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/