Skip to content

Commit

Permalink
et131x: remove extraneous pci_save_state.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Francois Romieu authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent fa9f0a6 commit c3abb68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c3abb68

Please sign in to comment.