From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDFI-00044A-O5 for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:01:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzDF1-0008Jc-0c for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:01:52 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDF0-0008JO-QZ for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:01:34 -0400 From: Peter Maydell Date: Tue, 24 Jun 2014 00:01:28 +0100 Message-Id: <1403564491-15624-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1403564491-15624-1-git-send-email-peter.maydell@linaro.org> References: <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. 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