From 01ad3725a8d0a8958720b81d19598a08c072ccee Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Tue, 1 Jun 2010 20:37:54 +0300 Subject: [PATCH] xfree86: delete useless "Primary device is not PCI" message The primary device being PCI or not has no effect on the server working. This message is superfluous. Signed-off-by: Tiago Vignatti Reviewed-by: Mikhail Gusarov --- hw/xfree86/common/xf86pciBus.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index 7f8823a36..3e9c4551f 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -1307,15 +1307,10 @@ xf86PciMatchDriver(char* matches[], int nmatches) { } pci_iterator_destroy(iter); - - if (!info) { - ErrorF("Primary device is not PCI\n"); - } #ifdef __linux__ - else { + if (info) matchDriverFromFiles(matches, info->vendor_id, info->device_id); - } -#endif /* __linux__ */ +#endif for (i = 0; (i < nmatches) && (matches[i]); i++) { /* find end of matches list */