PCI: PCIe portdrv: Remove unnecessary function

The function pcie_portdrv_save_config() in portdrv_pci.c is not
necessary.  Remove it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Rafael J. Wysocki
2009-01-13 14:43:07 +01:00
committed by Jesse Barnes
parent f118c0c3cf
commit 87d2e2ecf6

View File

@@ -32,11 +32,6 @@ MODULE_LICENSE("GPL");
/* global data */ /* global data */
static const char device_name[] = "pcieport-driver"; static const char device_name[] = "pcieport-driver";
static int pcie_portdrv_save_config(struct pci_dev *dev)
{
return pci_save_state(dev);
}
static int pcie_portdrv_restore_config(struct pci_dev *dev) static int pcie_portdrv_restore_config(struct pci_dev *dev)
{ {
int retval; int retval;
@@ -90,7 +85,7 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev,
if (status) if (status)
return status; return status;
pcie_portdrv_save_config(dev); pci_save_state(dev);
return 0; return 0;
} }