From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTFk1-0007B4-9d for qemu-devel@nongnu.org; Sun, 14 Sep 2014 15:45:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTFjw-0004nh-AI for qemu-devel@nongnu.org; Sun, 14 Sep 2014 15:45:45 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:47008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTFjw-0004nc-3l for qemu-devel@nongnu.org; Sun, 14 Sep 2014 15:45:40 -0400 From: Peter Maydell Date: Sun, 14 Sep 2014 20:45:37 +0100 Message-Id: <1410723938-18007-5-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1410723938-18007-1-git-send-email-peter.maydell@linaro.org> References: <1410723938-18007-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 4/5] target-mips/dsp_helper.c: Remove unused function get_DSPControl_24() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Richard Henderson , Aurelien Jarno , patches@linaro.org The function get_DSPControl_24() is unused; remove it. Signed-off-by: Peter Maydell --- target-mips/dsp_helper.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/target-mips/dsp_helper.c b/target-mips/dsp_helper.c index 09fb470..349f2a0 100644 --- a/target-mips/dsp_helper.c +++ b/target-mips/dsp_helper.c @@ -76,15 +76,6 @@ static inline void set_DSPControl_24(uint32_t flag, int len, CPUMIPSState *env) env->active_tc.DSPControl |= (target_ulong)flag << 24; } -static inline uint32_t get_DSPControl_24(int len, CPUMIPSState *env) -{ - uint32_t filter; - - filter = (0x01 << len) - 1; - - return (env->active_tc.DSPControl >> 24) & filter; -} - static inline void set_DSPControl_pos(uint32_t pos, CPUMIPSState *env) { target_ulong dspc; -- 2.0.0