Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T20:31:37Z

ChangeSet 1.1369, 2003/06/09 16:12:47-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/video/pm2fb.c

drivers/video/pm2fb.c | 4 ----
1 files changed, 4 deletions(-)

diff -Nru a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c
--- a/drivers/video/pm2fb.c Tue Jun 10 11:18:15 2003
+++ b/drivers/video/pm2fb.c Tue Jun 10 11:18:15 2003
@@ -1186,10 +1186,6 @@
#endif

memset(pci, 0, sizeof(struct pm2pci_par));
- if (!pci_present()) {
- DPRINTK("no PCI bus found.\n");
- return 0;
- }
DPRINTK("scanning PCI bus for known chipsets...\n");

while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {