It's not PCI? So what?!

Signed-off-by: Tiago Vignatti <tiago.vigna...@nokia.com>
---
 hw/xfree86/common/xf86pciBus.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index a751427..b64bae3 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -1318,14 +1318,8 @@ xf86PciMatchDriver(char* matches[], int nmatches) {
     }
 
     pci_iterator_destroy(iter);
-
-    if (!info) {
-       ErrorF("Primary device is not PCI\n");
-    }
 #ifdef __linux__
-    else {
        matchDriverFromFiles(matches, info->vendor_id, info->device_id);
-    }
 #endif /* __linux__ */
 
     for (i = 0; (i < nmatches) && (matches[i]); i++) {
-- 
1.7.1.226.g770c5

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to