* eepro100 kill obsolete ifdefs
@ 2005-01-12 13:23 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-01-12 13:23 UTC (permalink / raw)
To: kernel list, john.ronciak, ganesh.venkatesan, jesse.brandeburg
Cc: Rusty trivial patch monkey Russell
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@ucw.cz>
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!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-12 13:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 13:23 eepro100 kill obsolete ifdefs Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).