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:
Родитель
fa9f0a657e
Коммит
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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче