From patchwork Sun Sep 14 19:45:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 37394 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A97D1206A5 for ; Sun, 14 Sep 2014 19:46:18 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id p9sf1646740lbv.0 for ; Sun, 14 Sep 2014 12:46:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=xteiYJb3opx6GCHudSRtkw23meks6z02EVTbGNN+tTM=; b=RoTch9RkPpmemsFwcTwHNgSNut4l3I0B7InejrLUgX4tjWnx1w7Lj6mrlFlY/JPV4e DU31PfXk6rXHjax3IaBXCZA+UHzBiNntsBeE5zEZVzQ8OlYsqlXsVcq96emsmLM2LeGr MmWaMtpZs3l1ie2Sn21a+oCjkyS0/n+aCDorAsxEEVrrIZcnG7K2pkRAAnL7/2CRNi4f PB3HsXEOjP+ARY17YRXH9KSUR1EVUAseV5TU2oGONcnRplWSC3yMUFnd1CstPsK56Ysc 66HFApTLacpMcROzqxr2HAHKwhxlUb12+4gIKukPd3P+Bsh78FDmNJUsJtSGGtGdAdwl 1+Wg== X-Gm-Message-State: ALoCoQkHJG8ZcXzHo8HlgI76dhn5Y4UfvyAuMAYKqXXo+cu+oKHJ7dcIoAeFDwwuFnJYzK6/iHIF X-Received: by 10.194.121.72 with SMTP id li8mr6022599wjb.1.1410723977473; Sun, 14 Sep 2014 12:46:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.195 with SMTP id q3ls311090lal.22.gmail; Sun, 14 Sep 2014 12:46:17 -0700 (PDT) X-Received: by 10.112.157.162 with SMTP id wn2mr22101257lbb.18.1410723977126; Sun, 14 Sep 2014 12:46:17 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx.google.com with ESMTPS id r8si16088552lbh.113.2014.09.14.12.46.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Sep 2014 12:46:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id mc6so3527523lab.31 for ; Sun, 14 Sep 2014 12:46:17 -0700 (PDT) X-Received: by 10.112.76.6 with SMTP id g6mr22214710lbw.22.1410723977023; Sun, 14 Sep 2014 12:46:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp113751lbb; Sun, 14 Sep 2014 12:46:16 -0700 (PDT) X-Received: by 10.224.74.67 with SMTP id t3mr3498596qaj.100.1410723975710; Sun, 14 Sep 2014 12:46:15 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n9si12818154qcc.24.2014.09.14.12.46.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 14 Sep 2014 12:46:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:56002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTFkU-0007SL-Qk for patch@linaro.org; Sun, 14 Sep 2014 15:46:14 -0400 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 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1XTFju-0004h9-HE; Sun, 14 Sep 2014 20:45:38 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Sun, 14 Sep 2014 20:45:37 +0100 Message-Id: <1410723938-18007-5-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1410723938-18007-1-git-send-email-peter.maydell@linaro.org> References: <1410723938-18007-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 81.2.115.146 Cc: Richard Henderson , Aurelien Jarno , patches@linaro.org Subject: [Qemu-devel] [PATCH 4/5] target-mips/dsp_helper.c: Remove unused function get_DSPControl_24() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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;