Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:29 -0700


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) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/