summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-04 11:55:36 -0700
committerKenneth Graunke <[email protected]>2013-10-13 00:10:43 -0700
commit8d4ecbccd6a5608005b5c8f473d9a44dbde0b08d (patch)
treeb325c4b196ba5629f05e654a68172d1417357c46 /src/mesa/drivers
parent90511faedddff834ab1f6d92f4d5d25a3c32bd82 (diff)
i965: Remove #define name from PCI ID table.
Nothing uses the #define name, and it's not terribly useful - the numerical ID serves the same purpose. The only thing we could really do with it is generate slightly prettier preprocessed code. But who looks at that? Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index a5805ec8909..fa8e70580fc 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -70,7 +70,7 @@ intelGetString(struct gl_context * ctx, GLenum name)
case GL_RENDERER:
switch (brw->intelScreen->deviceID) {
#undef CHIPSET
-#define CHIPSET(id, symbol, str) case id: chipset = str; break;
+#define CHIPSET(id, str) case id: chipset = str; break;
#include "pci_ids/i965_pci_ids.h"
default:
chipset = "Unknown Intel Chipset";