mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
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: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
fa9f0a657e
commit
c3abb6871e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user