diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 2b44e6d8b..a6bfc0190 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -384,8 +384,7 @@ matchDriverFromFiles (char** matches, uint16_t match_vendor, uint16_t match_chip chip = (int)strtol(chip_str, NULL, 16); } } - if (vendor == match_vendor && - (chip == match_chip || chip == -1)) { + if (vendor == match_vendor && chip == match_chip ) { i = 0; while (matches[i]) { i++;