From eaf0e2a21c2cb14e19852e61a4521b3c240253af Mon Sep 17 00:00:00 2001 From: David Nusinow Date: Thu, 11 Oct 2007 22:31:24 -0400 Subject: [PATCH] Fix another compiler warning --- hw/xfree86/common/xf86AutoConfig.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++;