This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove unused set_error_{kind,message}


---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]