summaryrefslogtreecommitdiffstats
path: root/src/intel/common
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-09-27 18:57:58 +0100
committerLionel Landwerlin <[email protected]>2017-11-01 17:23:49 +0000
commitea14ba01791c5f29eb235c77ff0fe34ad8cd29e7 (patch)
treefa14161ce6c526ab6d7022e0a373b3a8c8e134cc /src/intel/common
parent938f62a1c7d72c7d512c9888b0a02222bddef487 (diff)
intel: decoder: remove unused platform field
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/common')
-rw-r--r--src/intel/common/gen_decoder.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 24c9fa79ad0..c0a46e5212e 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -49,7 +49,6 @@ struct parser_context {
XML_Parser parser;
int foo;
struct location loc;
- const char *platform;
struct gen_group *group;
struct gen_enum *enoom;
@@ -369,7 +368,6 @@ start_element(void *data, const char *element_name, const char **atts)
if (gen == NULL)
fail(&ctx->loc, "no gen given");
- ctx->platform = strdup(name);
int major, minor;
int n = sscanf(gen, "%d.%d", &major, &minor);
if (n == 0)