From: Richard Sandiford Date: Fri, 8 Sep 2023 16:20:56 +0000 (+0100) Subject: aarch64: Remove unused function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbee713c1446d59e06d304a9bd6fe895b2d05448;p=binutils-gdb.git aarch64: Remove unused function set_expected_error is no longer used. It has been replaced by more specific error messages. --- 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) {