This is the mail archive of the binutils-cvs@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]

[binutils-gdb] Remove unused functions in tc-aarch64.c.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=726e626a7bdeaf5f828faf12e2c1e81504b8fb73

commit 726e626a7bdeaf5f828faf12e2c1e81504b8fb73
Author: Ed Maste <emaste@freebsd.org>
Date:   Thu Apr 2 14:44:59 2015 +0100

    Remove unused functions in tc-aarch64.c.
    
    	* config/tc-aarch64.c (set_error_kind): Delete.
    	(set_error_message): Delete.

Diff:
---
 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 1cdc6f1..4c57d73 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-02  Ed Maste  <emaste@freebsd.org>
+
+	* config/tc-aarch64.c (set_error_kind): Delete.
+	(set_error_message): Delete.
+
 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* configure: Regenerated.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 32ae6d4..1d4d1d0 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;


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