diff options
author | David Brownell <david-b@pacbell.net> | 2007-05-07 13:26:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:02:08 -0400 |
commit | 56906c612e10b5e32a48ccbe8a3c08ab6acf5a28 (patch) | |
tree | e982b9cb97c5be164ee1dfd96e66013b3896d776 /drivers/net/typhoon.c | |
parent | e57571a07de8464f2e5911f87d2c8f29b0430fb7 (diff) |
PCI: remove useless pci driver method
Remove pointless and never-called enable_wake() hook from pci_driver and
from documentation. Evidently this was introduced in the 2.4.6 kernel,
but there's no evidence it was ever called; and it was rarely implemented.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/typhoon.c')
-rw-r--r-- | drivers/net/typhoon.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c index 15b2fb8aa492..0f2c0610ed71 100644 --- a/drivers/net/typhoon.c +++ b/drivers/net/typhoon.c | |||
@@ -2267,12 +2267,6 @@ need_resume: | |||
2267 | typhoon_resume(pdev); | 2267 | typhoon_resume(pdev); |
2268 | return -EBUSY; | 2268 | return -EBUSY; |
2269 | } | 2269 | } |
2270 | |||
2271 | static int | ||
2272 | typhoon_enable_wake(struct pci_dev *pdev, pci_power_t state, int enable) | ||
2273 | { | ||
2274 | return pci_enable_wake(pdev, state, enable); | ||
2275 | } | ||
2276 | #endif | 2270 | #endif |
2277 | 2271 | ||
2278 | static int __devinit | 2272 | static int __devinit |
@@ -2636,7 +2630,6 @@ static struct pci_driver typhoon_driver = { | |||
2636 | #ifdef CONFIG_PM | 2630 | #ifdef CONFIG_PM |
2637 | .suspend = typhoon_suspend, | 2631 | .suspend = typhoon_suspend, |
2638 | .resume = typhoon_resume, | 2632 | .resume = typhoon_resume, |
2639 | .enable_wake = typhoon_enable_wake, | ||
2640 | #endif | 2633 | #endif |
2641 | }; | 2634 | }; |
2642 | 2635 | ||