Module: Mesa
Branch: master
Commit: ea14ba01791c5f29eb235c77ff0fe34ad8cd29e7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea14ba01791c5f29eb235c77ff0fe34ad8cd29e7

Author: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Date:   Wed Sep 27 18:57:58 2017 +0100

intel: decoder: remove unused platform field

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Reviewed-by: Scott D Phillips <scott.d.phill...@intel.com>

---

 src/intel/common/gen_decoder.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 24c9fa79ad..c0a46e5212 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)

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to