From 726e626a7bdeaf5f828faf12e2c1e81504b8fb73 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 2 Apr 2015 14:44:59 +0100 Subject: [PATCH] Remove unused functions in tc-aarch64.c. * config/tc-aarch64.c (set_error_kind): Delete. (set_error_message): Delete. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1cdc6f16d43..4c57d734190 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-04-02 Ed Maste + + * config/tc-aarch64.c (set_error_kind): Delete. + (set_error_message): Delete. + 2015-04-02 H.J. Lu * configure: Regenerated. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 32ae6d4aeb8..1d4d1d057ac 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -171,24 +171,12 @@ get_error_message (void) return inst.parsing_error.error; } -static inline void -set_error_message (const char *error) -{ - inst.parsing_error.error = error; -} - static inline enum aarch64_operand_error_kind get_error_kind (void) { return inst.parsing_error.kind; } -static inline void -set_error_kind (enum aarch64_operand_error_kind kind) -{ - inst.parsing_error.kind = kind; -} - static inline void set_error (enum aarch64_operand_error_kind kind, const char *error) { -- 2.30.2