summaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2011-10-23 19:11:50 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 16:21:06 -0800
commitc3abb6871e972f44103401c8430b472212a64417 (patch)
tree7523ca7a9bec3397f5811192b63559ebc92e3e4f /drivers/staging/et131x
parentfa9f0a657e1474d7b2067fc22bd9a5e94878a40c (diff)
downloadlinux-c3abb6871e972f44103401c8430b472212a64417.tar.gz
linux-c3abb6871e972f44103401c8430b472212a64417.tar.bz2
linux-c3abb6871e972f44103401c8430b472212a64417.zip
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>
Diffstat (limited to 'drivers/staging/et131x')
-rw-r--r--drivers/staging/et131x/et131x.c1
1 files changed, 0 insertions, 1 deletions
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;