aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-01-25 03:34:08 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 18:50:07 -0500
commit0fcfdabbdbedb3bdc63f29209aeeac805df78a92 (patch)
tree49b924287acdf067d470c1d07c0fa02c099e0c0e /drivers/pci
parent88187dfa4d8bb565df762f272511d2c91e427e0d (diff)
MSI: Remove pci_scan_msi_device()
pci_scan_msi_device() doesn't do anything anymore, so remove it. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.c6
-rw-r--r--drivers/pci/probe.c1
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 3776531586d1..6cfa6be9a6d5 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -294,12 +294,6 @@ static int msi_lookup_irq(struct pci_dev *dev, int type)
294 return -EACCES; 294 return -EACCES;
295} 295}
296 296
297void pci_scan_msi_device(struct pci_dev *dev)
298{
299 if (!dev)
300 return;
301}
302
303#ifdef CONFIG_PM 297#ifdef CONFIG_PM
304int pci_save_msi_state(struct pci_dev *dev) 298int pci_save_msi_state(struct pci_dev *dev)
305{ 299{
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 9d7788428642..2fe1d690eb13 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -945,7 +945,6 @@ pci_scan_single_device(struct pci_bus *bus, int devfn)
945 return NULL; 945 return NULL;
946 946
947 pci_device_add(dev, bus); 947 pci_device_add(dev, bus);
948 pci_scan_msi_device(dev);
949 948
950 return dev; 949 return dev;
951} 950}