mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
intel: decoder: remove unused platform field
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
This commit is contained in:
parent
938f62a1c7
commit
ea14ba0179
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue