Commit 9c5c0580 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 41986392
......@@ -1186,10 +1186,6 @@ static int __init pm2pci_detect(struct pm2fb_info* p) {
#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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment