This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Remove unused set_error_{kind,message}
- From: Ed Maste <emaste at freebsd dot org>
- To: binutils at sourceware dot org
- Cc: Ed Maste <emaste at freebsd dot org>
- Date: Wed, 1 Apr 2015 13:38:52 -0400
- Subject: [PATCH] Remove unused set_error_{kind,message}
- Authentication-results: sourceware.org; auth=none
---
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 0c1f815..ab9d3da 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-xx-xx Ed Maste <emaste@freebsd.org>
+
+ * config/tc-aarch64.c: Remove unused set_error_kind and
+ set_error_message.
+
2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index ef4fae8..69cf156 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -171,12 +171,6 @@ 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)
{
@@ -184,12 +178,6 @@ get_error_kind (void)
}
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)
{
inst.parsing_error.kind = kind;
--
2.2.2