[pushed] aarch64: Remove unused function

Message ID mptzg1wmy8y.fsf@arm.com
State Committed
Headers
Series [pushed] aarch64: Remove unused function |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_check--master-arm warning Patch is already merged

Commit Message

Richard Sandiford Sept. 8, 2023, 4:21 p.m. UTC
  set_expected_error is no longer used.  It has been replaced by
more specific error messages.

Tested on aarch64-linux-gnu & pushed.

Richard


---
 gas/config/tc-aarch64.c | 7 -------
 1 file changed, 7 deletions(-)
  

Patch

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index c3c7e406a60..4458f6dd663 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -241,13 +241,6 @@  set_default_error (void)
   inst.parsing_error.data[0].i = SEF_DEFAULT_ERROR;
 }
 
-static inline void
-set_expected_error (unsigned int flags)
-{
-  set_error (AARCH64_OPDE_SYNTAX_ERROR, NULL);
-  inst.parsing_error.data[0].i = flags;
-}
-
 static inline void
 set_syntax_error (const char *error)
 {