From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDJt-000796-4N for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzDJs-0001WF-79 for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:06:37 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDJs-0001V6-1h for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:06:36 -0400 From: Peter Maydell Date: Tue, 24 Jun 2014 00:01:27 +0100 Message-Id: <1403564491-15624-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 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: Blue Swirl , Mark Cave-Ayland , Richard Henderson 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. Incidentally, Mark, if you wanted to send a patch to MAINTAINERS to add yourself as a listed comaintainer for SPARC I'd be happy to apply it... 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 | 10 +++++----- target-sparc/translate.c | 24 ------------------------ 2 files changed, 5 insertions(+), 29 deletions(-) -- 2.0.0