Commit c3abb687 authored by Francois Romieu's avatar Francois Romieu Committed by Greg Kroah-Hartman

et131x: remove extraneous pci_save_state.

pci_{save, restore}_state are balanced in .suspend and .resume.
They are not used anywhere else in the driver.
Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Acked-by: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fa9f0a65
...@@ -5429,7 +5429,6 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev, ...@@ -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. * been initialized, just in case it needs to be quickly restored.
*/ */
pci_set_drvdata(pdev, netdev); pci_set_drvdata(pdev, netdev);
pci_save_state(adapter->pdev);
out: out:
return rc; return rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment