From: Francois Romieu Date: Sun, 23 Oct 2011 17:11:50 +0000 (+0200) Subject: et131x: remove extraneous pci_save_state. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c3abb6871e972f44103401c8430b472212a64417;p=linux-beck.git 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 Acked-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index debc07c52e70..063955d52733 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c @@ -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;