et131x: remove extraneous pci_save_state.
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 23 Oct 2011 17:11:50 +0000 (19:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 00:21:06 +0000 (16:21 -0800)
pci_{save, restore}_state are balanced in .suspend and .resume.
They are not used anywhere else in the driver.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Acked-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x.c

index debc07c52e705757a98d11c1fef6edd0d254f560..063955d527332a4114e3f270027e17ccb201e608 100644 (file)
@@ -5429,7 +5429,6 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev,
         * been initialized, just in case it needs to be quickly restored.
         */
        pci_set_drvdata(pdev, netdev);
-       pci_save_state(adapter->pdev);
 out:
        return rc;