From: Richard Sandiford <richard.sandiford@arm.com>
To: binutils@sourceware.org
Subject: [pushed] aarch64: Remove unused function
Date: Fri, 08 Sep 2023 17:21:49 +0100 [thread overview]
Message-ID: <mptzg1wmy8y.fsf@arm.com> (raw)
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(-)
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)
{
--
2.25.1
reply other threads:[~2023-09-08 16:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mptzg1wmy8y.fsf@arm.com \
--to=richard.sandiford@arm.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).