From: Michael Tokarev Date: Tue, 10 Mar 2015 05:31:30 +0000 (+0300) Subject: cris: remove unused cris_cond15 declarations X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=302cb24addd18213c615dfa57de22dcae4776d2a;p=qemu.git cris: remove unused cris_cond15 declarations Signed-off-by: Michael Tokarev Reviewed-by: Stefan Weil --- diff --git a/disas/cris.c b/disas/cris.c index 9dfb4e3885..e6cff7a765 100644 --- a/disas/cris.c +++ b/disas/cris.c @@ -1210,21 +1210,10 @@ cris_cc_strings[] = "le", "a", /* This is a placeholder. In v0, this would be "ext". In v32, this - is "sb". See cris_conds15. */ + is "sb". */ "wf" }; -/* Different names and semantics for condition 1111 (0xf). */ -const struct cris_cond15 cris_cond15s[] = -{ - /* FIXME: In what version did condition "ext" disappear? */ - {"ext", cris_ver_v0_3}, - {"wf", cris_ver_v10}, - {"sb", cris_ver_v32p}, - {NULL, 0} -}; - - /* * Local variables: * eval: (c-set-style "gnu") diff --git a/target-cris/opcode-cris.h b/target-cris/opcode-cris.h index 779d4aab70..e7ebb98cd0 100644 --- a/target-cris/opcode-cris.h +++ b/target-cris/opcode-cris.h @@ -108,16 +108,6 @@ struct cris_support_reg }; extern const struct cris_support_reg cris_support_regs[]; -struct cris_cond15 -{ - /* The name of the condition. */ - const char *const name; - - /* What CPU version this condition name applies to. */ - enum cris_insn_version_usage applicable_version; -}; -extern const struct cris_cond15 cris_conds15[]; - /* Opcode-dependent constants. */ #define AUTOINCR_BIT (0x04)