lkml.org 
[lkml]   [2003]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] PCI fixes for 2.6.0-test6
From
Date
ChangeSet 1.1345, 2003/09/26 16:34:09-07:00, mochel@osdl.org

[PATCH] Remove ->save_state() from vlsi_ir.c

Remove the unneeded and uncalled struct pci_driver::save_state().


drivers/net/irda/vlsi_ir.c | 10 ----------
1 files changed, 10 deletions(-)


diff -Nru a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c
--- a/drivers/net/irda/vlsi_ir.c Tue Sep 30 15:20:50 2003
+++ b/drivers/net/irda/vlsi_ir.c Tue Sep 30 15:20:50 2003
@@ -1859,15 +1859,6 @@
* otherwise we might get cheated by pci-pm.
*/

-static int vlsi_irda_save_state(struct pci_dev *pdev, u32 state)
-{
- if (state < 1 || state > 3 ) {
- ERROR("%s - %s: invalid pm state request: %u\n",
- __FUNCTION__, PCIDEV_NAME(pdev), state);
- return -1;
- }
- return 0;
-}

static int vlsi_irda_suspend(struct pci_dev *pdev, u32 state)
{
@@ -1970,7 +1961,6 @@
.probe = vlsi_irda_probe,
.remove = __devexit_p(vlsi_irda_remove),
#ifdef CONFIG_PM
- .save_state = vlsi_irda_save_state,
.suspend = vlsi_irda_suspend,
.resume = vlsi_irda_resume,
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.048 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site