]> git.proxmox.com Git - mirror_qemu.git/commit
disas/s390.c: Remove unused variables
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 26 Jan 2015 16:28:31 +0000 (16:28 +0000)
committerRichard Henderson <rth@twiddle.net>
Tue, 3 Feb 2015 20:27:05 +0000 (12:27 -0800)
commit5b279407704613dbee8bc0866817bf7006b487a5
treef5f211b7f79dc11286fe3b0ded434ace2d8d3ebd
parent8841d9dfc7f871cec7c3401a8a2d31ad34e881f7
disas/s390.c: Remove unused variables

The variables s390_opformats and s390_num_opformats are unused and
provoke clang warnings:

disas/s390.c:849:33: warning: variable 's390_opformats' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static const struct s390_opcode s390_opformats[] =
                                ^
disas/s390.c:875:18: warning: unused variable 's390_num_opformats' [-Wunused-const-variable]
static const int s390_num_opformats =
                 ^

Delete them, since QEMU doesn't use them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1419373100-17690-3-git-send-email-peter.maydell@linaro.org
Signed-off-by: Richard Henderson <rth@twiddle.net>
disas/s390.c