[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] target-sparc: fixed unused function warnings
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH v2 0/3] target-sparc: fixed unused function warnings |
Date: |
Tue, 2 Sep 2014 12:52:41 +0100 |
These patchsets fix clang 3.4 warnings about unused static inline
functions (clang now warns about these if they're defined in a
.c file but then not used; gcc doesn't). The first patch just
removes two totally unused functions; the second two patches
use ifdeffery to avoid defining the functions in non-TARGET_SPARC64
builds.
(I sent out v1 back in June; the only change here is to drop
the now-unnecessary "inline" specifiers, as suggested by RTH.)
Peter Maydell (3):
target-sparc: Remove unused gen_op_subi_cc and gen_op_addi_cc
target-sparc: address_mask(), asi_address_mask() are TARGET_SPARC64
only
target-sparc: is_translating_asi() is TARGET_SPARC64 only
target-sparc/ldst_helper.c | 18 +++++++++---------
target-sparc/translate.c | 24 ------------------------
2 files changed, 9 insertions(+), 33 deletions(-)
--
1.9.1
- [Qemu-devel] [PATCH v2 0/3] target-sparc: fixed unused function warnings,
Peter Maydell <=