From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOmdq-0005Ss-0X for qemu-devel@nongnu.org; Tue, 02 Sep 2014 07:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOmdj-0001ct-Si for qemu-devel@nongnu.org; Tue, 02 Sep 2014 07:52:53 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:46830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOmdj-0001ch-MA for qemu-devel@nongnu.org; Tue, 02 Sep 2014 07:52:47 -0400 From: Peter Maydell Date: Tue, 2 Sep 2014 12:52:41 +0100 Message-Id: <1409658764-28113-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/3] target-sparc: fixed unused function warnings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Richard Henderson , Mark Cave-Ayland , patches@linaro.org 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