summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-06-01 20:37:54 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2010-09-14 18:53:31 +0300
commit01ad3725a8d0a8958720b81d19598a08c072ccee (patch)
tree5a86befd28b74e12cb4d734622660887d25849a3
parent7360235ecca25af29bb2d99a8e46d5b259ad1b1e (diff)
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 <tiago.vignatti@nokia.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-rw-r--r--hw/xfree86/common/xf86pciBus.c9
1 files 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 */