qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] target-mips: Fix unused-function warnings
@ 2014-09-14 19:45 Peter Maydell
  2014-09-14 19:45 ` [Qemu-devel] [PATCH 1/5] target-mips: Remove unused gen_load_ACX, gen_store_ACX and cpu_ACX Peter Maydell
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Peter Maydell @ 2014-09-14 19:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Aurelien Jarno, patches

These patches fix a number of warnings in target-mips code that
clang produces; notably, clang will complain about unused
'static inline' functions in .c files where gcc does not.
Some are genuinely totally unused; a few are unused only in some
configs and so we add ifdef guards.

(I've actually had these lying around for a while but forgot to
send them.)

Peter Maydell (5):
  target-mips: Remove unused gen_load_ACX, gen_store_ACX and cpu_ACX
  target-mips/translate.c: Add ifdef guard around check_mips64()
  target-mips/dsp_helper.c: Add ifdef guards around various functions
  target-mips/dsp_helper.c: Remove unused function get_DSPControl_24()
  target-mips/op_helper.c: Remove unused do_lbu() function

 target-mips/dsp_helper.c | 26 ++++++++++++++++----------
 target-mips/op_helper.c  |  1 -
 target-mips/translate.c  | 22 +++-------------------
 3 files changed, 19 insertions(+), 30 deletions(-)

-- 
2.0.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-15 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-14 19:45 [Qemu-devel] [PATCH 0/5] target-mips: Fix unused-function warnings Peter Maydell
2014-09-14 19:45 ` [Qemu-devel] [PATCH 1/5] target-mips: Remove unused gen_load_ACX, gen_store_ACX and cpu_ACX Peter Maydell
2014-09-14 19:45 ` [Qemu-devel] [PATCH 2/5] target-mips/translate.c: Add ifdef guard around check_mips64() Peter Maydell
2014-09-14 19:45 ` [Qemu-devel] [PATCH 3/5] target-mips/dsp_helper.c: Add ifdef guards around various functions Peter Maydell
2014-09-14 19:45 ` [Qemu-devel] [PATCH 4/5] target-mips/dsp_helper.c: Remove unused function get_DSPControl_24() Peter Maydell
2014-09-14 19:45 ` [Qemu-devel] [PATCH 5/5] target-mips/op_helper.c: Remove unused do_lbu() function Peter Maydell
2014-09-15 16:12 ` [Qemu-devel] [PATCH 0/5] target-mips: Fix unused-function warnings Richard Henderson

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 NNTP newsgroup(s).