public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb/binutils-2_41-branch] aarch64: Remove unused function
@ 2023-09-08 17:40 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2023-09-08 17:40 UTC (permalink / raw)
  To: bfd-cvs

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

commit 6ffa5a420a0ce533feb6bc09f6f76bac9e3930bd
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Fri Sep 8 17:20:56 2023 +0100

    aarch64: Remove unused function
    
    set_expected_error is no longer used.  It has been replaced by
    more specific error messages.

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

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 99fb5de2679..85a4c2b3917 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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-08 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 17:40 [binutils-gdb/binutils-2_41-branch] aarch64: Remove unused function Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).