From patchwork Wed Oct 15 09:54:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Alrae X-Patchwork-Id: 38770 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A21E720973 for ; Wed, 15 Oct 2014 10:06:46 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id y10sf515278wgg.10 for ; Wed, 15 Oct 2014 03:06:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version: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:content-type; bh=3ZLgrsY5qbcUNBcRL9gA3prm/K8pFgpsCR3L2LFyJWw=; b=m0Xcj80vPUXF16VQfr4G/e+h3w0H5aMmtjkV8i8kAonF8+6hSP/mib2AEOtA/N9fHr Cruf8N8jrIBPUqqpwdHVYPbzVpYNGNCjVMxsJiChVh4qckZOcmhzzHh8VK8imC/Vi0l3 t8xR8jIcVZR3PeLa60HyTC1tLjmsJMdCFvTJ7iNfX4sgAJnGxC+W3NgVprj+DAlfnKMK N9qqXUtMdVs+Niajb82Sb3tENoioWfOsV4wiOKZ5EoOcIO50RDW7OgQaLkUGoBzHwnlC 5xnbI/0N33Ph6pGjMi2wN/HTkskTD1sxS9omLg8vV6i4qP7FJz/cXBaYa1EPXy1KjuOR JIMQ== X-Gm-Message-State: ALoCoQl7aVC38n2LVzs6SPyy30fvhEUvuOKJYRa00kbHVhaJXLiknhRWKJSmIilDav+LtQ/skenR X-Received: by 10.152.26.72 with SMTP id j8mr1873562lag.3.1413367605814; Wed, 15 Oct 2014 03:06:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.10 with SMTP id m10ls39835laj.72.gmail; Wed, 15 Oct 2014 03:06:45 -0700 (PDT) X-Received: by 10.112.24.108 with SMTP id t12mr10959004lbf.79.1413367605607; Wed, 15 Oct 2014 03:06:45 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx.google.com with ESMTPS id jp10si29932009lab.19.2014.10.15.03.06.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Oct 2014 03:06:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id q1so722391lam.36 for ; Wed, 15 Oct 2014 03:06:45 -0700 (PDT) X-Received: by 10.112.189.10 with SMTP id ge10mr11030306lbc.23.1413367605480; Wed, 15 Oct 2014 03:06:45 -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.84.229 with SMTP id c5csp562499lbz; Wed, 15 Oct 2014 03:06:44 -0700 (PDT) X-Received: by 10.140.20.82 with SMTP id 76mr17313501qgi.29.1413367603421; Wed, 15 Oct 2014 03:06:43 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 21si34285968qga.74.2014.10.15.03.06.42 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 15 Oct 2014 03:06:43 -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]:43436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeLTe-000235-Cm for patch@linaro.org; Wed, 15 Oct 2014 06:06:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeLIW-0000lz-GQ for qemu-devel@nongnu.org; Wed, 15 Oct 2014 05:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeLIQ-0000k5-OT for qemu-devel@nongnu.org; Wed, 15 Oct 2014 05:55:12 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:60282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeLIQ-0000iw-CX for qemu-devel@nongnu.org; Wed, 15 Oct 2014 05:55:06 -0400 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 71C147FA979B2; Wed, 15 Oct 2014 10:55:02 +0100 (IST) Received: from localhost.localdomain (192.168.14.85) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 15 Oct 2014 10:55:04 +0100 From: Leon Alrae To: Date: Wed, 15 Oct 2014 10:54:16 +0100 Message-ID: <1413366860-7833-25-git-send-email-leon.alrae@imgtec.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1413366860-7833-1-git-send-email-leon.alrae@imgtec.com> References: <1413366860-7833-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.14.85] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 195.59.15.196 Cc: Peter Maydell Subject: [Qemu-devel] [PULL 24/28] 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: patch@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.49 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 From: Peter Maydell The function get_DSPControl_24() is unused; remove it. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Signed-off-by: Leon Alrae --- 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 94083fb..2ea94a7 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;