config/gcn/mkoffload.c – remove unused static vars
authorTobias Burnus <tobias@codesourcery.com>
Mon, 25 Nov 2019 14:25:17 +0000 (14:25 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 25 Nov 2019 14:25:17 +0000 (15:25 +0100)
        * config/gcn/mkoffload.c (COMMENT_PREFIX, struct id_map,
        func_ids, funcs_tail, var_ids, vars_tail) Remove unused
        definitions.

From-SVN: r278688

gcc/ChangeLog
gcc/config/gcn/mkoffload.c

index 3d621f9045289497585edd498f0bf799c53ad937..186299abab244df75de00253e28028d0c4520496 100644 (file)
@@ -1,3 +1,9 @@
+2019-11-25  Tobias Burnus  <tobias@codesourcery.com>
+
+       * config/gcn/mkoffload.c (COMMENT_PREFIX, struct id_map,
+       func_ids, funcs_tail, var_ids, vars_tail) Remove unused
+       definitions.
+
 2019-11-25  Martin Liska  <mliska@suse.cz>
 
        * ipa-icf.c (sem_item_optimizer::dump_cong_classes): Clean
index 40b56375b752184c6e114fa7fdef9aa2702cf5a6..b5a2870057c576569533be97532ba6fe520297ad 100644 (file)
 
 const char tool_name[] = "gcn mkoffload";
 
-#define COMMENT_PREFIX "#"
-
-struct id_map
-{
-  id_map *next;
-  char *gcn_name;
-};
-
-static id_map *func_ids, **funcs_tail = &func_ids;
-static id_map *var_ids, **vars_tail = &var_ids;
-
 /* Files to unlink.  */
 static const char *gcn_s1_name;
 static const char *gcn_s2_name;