]> git.hungrycats.org Git - linux/commitdiff
[pci] Remove ->save_state() from struct pci_driver.
authorPatrick Mochel <mochel@osdl.org>
Fri, 26 Sep 2003 02:18:44 +0000 (19:18 -0700)
committerPatrick Mochel <mochel@osdl.org>
Fri, 26 Sep 2003 02:18:44 +0000 (19:18 -0700)
It is not called, and unused.

include/linux/pci.h

index 3c4fc6c627732c2a6fbaafc848e43ba2a75954f7..654840dad2269af4fab5b04991adbbfebba46253 100644 (file)
@@ -515,7 +515,6 @@ struct pci_driver {
        const struct pci_device_id *id_table;   /* must be non-NULL for probe to be called */
        int  (*probe)  (struct pci_dev *dev, const struct pci_device_id *id);   /* New device inserted */
        void (*remove) (struct pci_dev *dev);   /* Device removed (NULL if not a hot-plug capable driver) */
-       int  (*save_state) (struct pci_dev *dev, u32 state);    /* Save Device Context */
        int  (*suspend) (struct pci_dev *dev, u32 state);       /* Device suspended */
        int  (*resume) (struct pci_dev *dev);                   /* Device woken up */
        int  (*enable_wake) (struct pci_dev *dev, u32 state, int enable);   /* Enable wake event */