From d222e47058aa77bd2b4ab6341229f27a84f606f2 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 25 Nov 2019 14:25:17 +0000 Subject: [PATCH] =?utf8?q?config/gcn/mkoffload.c=20=E2=80=93=20remove=20un?= =?utf8?q?used=20static=20vars?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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 | 6 ++++++ gcc/config/gcn/mkoffload.c | 11 ----------- 2 files changed, 6 insertions(+), 11 deletions(-) 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; -- 2.30.2