aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-01-13 08:43:07 -0500
committerJesse Barnes <jbarnes@hobbes.lan>2009-03-19 22:29:22 -0400
commit87d2e2ecf6026efa64b01f7f71802b20da736d35 (patch)
treef6317b4759c29fa983599d6c14b080b3b7a1c643 /drivers
parentf118c0c3cff4fed39bde1863f9d59850719645cc (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/pcie/portdrv_pci.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index d17611f390bd..94d0e2af9bad 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -32,11 +32,6 @@ MODULE_LICENSE("GPL");
32/* global data */ 32/* global data */
33static const char device_name[] = "pcieport-driver"; 33static const char device_name[] = "pcieport-driver";
34 34
35static int pcie_portdrv_save_config(struct pci_dev *dev)
36{
37 return pci_save_state(dev);
38}
39
40static int pcie_portdrv_restore_config(struct pci_dev *dev) 35static int pcie_portdrv_restore_config(struct pci_dev *dev)
41{ 36{
42 int retval; 37 int retval;
@@ -90,7 +85,7 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev,
90 if (status) 85 if (status)
91 return status; 86 return status;
92 87
93 pcie_portdrv_save_config(dev); 88 pci_save_state(dev);
94 89
95 return 0; 90 return 0;
96} 91}