From patchwork Sun Sep 14 19:33:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 37389 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 126C5206A5 for ; Sun, 14 Sep 2014 19:34:54 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id z11sf1640108lbi.2 for ; Sun, 14 Sep 2014 12:34:53 -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:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=xFJWbESZ763qR5AiSmvHkuKb9HAWApvoRsL5/ZhECTc=; b=QFcJHR03f+oQKMZRBLfMR/HAgZTfG+xlI20RjNS7NBXZh/Sl6onPcQzQly/TeRY8rU eggEHxYqsWdJ1U26Gt6uA9ASWA4enEAcRwRcbyJiBtyOkcsJM62fge1HlHam2W6cboLe TOzVzGn7cofl21Uvbk7VGwWEPG6QnRaAF0QwotpyMH4MASEYj0oxTVSKTDl9qVOjmjVk 7c3xGpqB2epuAWzYiDYki7S8u0k7zZ9QvZue/IWZK4R4xweSOurOxmZfD83nV1Y0xUAg Ek3CtFqFZh9gDPgDBAbyCPbsfGR8yajAHz9yCIK24wqwZTxN+EuXj7bj2M4Ak1/cH1hu SZyg== X-Gm-Message-State: ALoCoQl/hMLoW7nVeW+kWjFsPmpn2L4RwbNwdBnhPe8zViMrEFMDRErE+0UHzXLT5SBpMTy5i5yl X-Received: by 10.194.203.40 with SMTP id kn8mr59011wjc.4.1410723293905; Sun, 14 Sep 2014 12:34:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.166 with SMTP id an6ls311102lac.71.gmail; Sun, 14 Sep 2014 12:34:53 -0700 (PDT) X-Received: by 10.152.9.37 with SMTP id w5mr23295645laa.28.1410723293626; Sun, 14 Sep 2014 12:34:53 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx.google.com with ESMTPS id d6si16199840lbe.13.2014.09.14.12.34.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Sep 2014 12:34:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id ge10so3595765lab.12 for ; Sun, 14 Sep 2014 12:34:53 -0700 (PDT) X-Received: by 10.112.53.230 with SMTP id e6mr3210706lbp.100.1410723293563; Sun, 14 Sep 2014 12:34:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.130.169 with SMTP id of9csp113021lbb; Sun, 14 Sep 2014 12:34:52 -0700 (PDT) X-Received: by 10.68.171.33 with SMTP id ar1mr5177354pbc.148.1410723292121; Sun, 14 Sep 2014 12:34:52 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id id5si19456514pbc.71.2014.09.14.12.34.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 14 Sep 2014 12:34:51 -0700 (PDT) Received-SPF: none (google.com: pm215@archaic.org.uk does not designate permitted sender hosts) client-ip=81.2.115.146; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1XTFYO-0004cT-1e; Sun, 14 Sep 2014 20:33:44 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org Subject: [PATCH 4/4] hw/input/tsc210x.c: Delete unused array tsc2101_rates Date: Sun, 14 Sep 2014 20:33:43 +0100 Message-Id: <1410723223-17711-5-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1410723223-17711-1-git-send-email-peter.maydell@linaro.org> References: <1410723223-17711-1-git-send-email-peter.maydell@linaro.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.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The array tsc2101_rates[] is unused (and we don't implement the TSC2101 anyway, only the 2102); delete it. Signed-off-by: Peter Maydell --- hw/input/tsc210x.c | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/hw/input/tsc210x.c b/hw/input/tsc210x.c index aa5b688..fae3385 100644 --- a/hw/input/tsc210x.c +++ b/hw/input/tsc210x.c @@ -215,36 +215,6 @@ typedef struct { int fsref; } TSC210xRateInfo; -/* { rate, dsor, fsref } */ -static const TSC210xRateInfo tsc2101_rates[] = { - /* Fsref / 6.0 */ - { 7350, 7, 1 }, - { 8000, 7, 0 }, - /* Fsref / 5.5 */ - { 8018, 6, 1 }, - { 8727, 6, 0 }, - /* Fsref / 5.0 */ - { 8820, 5, 1 }, - { 9600, 5, 0 }, - /* Fsref / 4.0 */ - { 11025, 4, 1 }, - { 12000, 4, 0 }, - /* Fsref / 3.0 */ - { 14700, 3, 1 }, - { 16000, 3, 0 }, - /* Fsref / 2.0 */ - { 22050, 2, 1 }, - { 24000, 2, 0 }, - /* Fsref / 1.5 */ - { 29400, 1, 1 }, - { 32000, 1, 0 }, - /* Fsref */ - { 44100, 0, 1 }, - { 48000, 0, 0 }, - - { 0, 0, 0 }, -}; - /* { rate, dsor, fsref } */ static const TSC210xRateInfo tsc2102_rates[] = { /* Fsref / 6.0 */