From: Tobias Burnus Date: Mon, 25 Nov 2019 14:25:17 +0000 (+0000) Subject: config/gcn/mkoffload.c – remove unused static vars X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d222e47058aa77bd2b4ab6341229f27a84f606f2;p=gcc.git config/gcn/mkoffload.c – remove unused static vars * config/gcn/mkoffload.c (COMMENT_PREFIX, struct id_map, func_ids, funcs_tail, var_ids, vars_tail) Remove unused definitions. From-SVN: r278688 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3d621f90452..186299abab2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-11-25 Tobias Burnus + + * 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 * ipa-icf.c (sem_item_optimizer::dump_cong_classes): Clean diff --git a/gcc/config/gcn/mkoffload.c b/gcc/config/gcn/mkoffload.c index 40b56375b75..b5a2870057c 100644 --- a/gcc/config/gcn/mkoffload.c +++ b/gcc/config/gcn/mkoffload.c @@ -36,17 +36,6 @@ 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;