From patchwork Mon Sep 29 18:26:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 38089 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 011BA20972 for ; Mon, 29 Sep 2014 18:28:21 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id b13sf2539050wgh.1 for ; Mon, 29 Sep 2014 11:28:21 -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: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=+9pNftn45vCfIR/vgBrY1XVCgDEkeGZfCfANGio+9Z4=; b=Nm3VMdZQ3zZE75thNgNpfl/hCja1dQ6ANMy/86SQFkywJOWMF3rGEXO2ZAyUSN5dOi TZ8GPqciihFLta7rkEAd5AlptjNwo/LoTjF2PZqBoIEzV58rSfYBexfPiFMLAXjXOY4V wKgDHaFL7WaltH2Wcg2zNYP0rwbM6+/D4EH1ld0HtzJNRsDweSHdvNLaEoY3yjvCw7OT OCBxbr4YTqUPMZQGPG8Mtt/QL0eYvf9fJxVlqVwmJ4DukDAUgeVlA5h81bpp0FB9pd+i gkRHWdoFPY3vA7scHCKCDp6vmEivp45Vwa6G7lwmh/fXEm8ib8EukbuaYiaYEdEEKjdC LShQ== X-Gm-Message-State: ALoCoQlgMFCZZ/WWaWI0/WjMz7td6G7OO67UjtMG9Jwmm2iVOr5KXcRjJklGA/4EIq0RlR0GVJ/d X-Received: by 10.180.109.194 with SMTP id hu2mr6367050wib.1.1412015301085; Mon, 29 Sep 2014 11:28:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.132 with SMTP id dc4ls117330lad.64.gmail; Mon, 29 Sep 2014 11:28:20 -0700 (PDT) X-Received: by 10.112.56.198 with SMTP id c6mr17655519lbq.43.1412015300899; Mon, 29 Sep 2014 11:28:20 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by mx.google.com with ESMTPS id jo8si19461383lab.25.2014.09.29.11.28.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 11:28:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id b6so3071445lbj.17 for ; Mon, 29 Sep 2014 11:28:20 -0700 (PDT) X-Received: by 10.152.42.136 with SMTP id o8mr41319172lal.71.1412015300833; Mon, 29 Sep 2014 11:28:20 -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 of9csp224607lbb; Mon, 29 Sep 2014 11:28:20 -0700 (PDT) X-Received: by 10.224.128.129 with SMTP id k1mr48233446qas.69.1412015298873; Mon, 29 Sep 2014 11:28:18 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k9si5181326qch.25.2014.09.29.11.28.18 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 29 Sep 2014 11:28:18 -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]:38305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYfgI-00010U-1Y for patch@linaro.org; Mon, 29 Sep 2014 14:28:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYffD-0008GF-Ez for qemu-devel@nongnu.org; Mon, 29 Sep 2014 14:27:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYffC-0007YD-5O for qemu-devel@nongnu.org; Mon, 29 Sep 2014 14:27:11 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:54082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYffB-0007L2-Uj for qemu-devel@nongnu.org; Mon, 29 Sep 2014 14:27:10 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1XYfew-0005oB-0w for qemu-devel@nongnu.org; Mon, 29 Sep 2014 19:26:54 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 29 Sep 2014 19:26:41 +0100 Message-Id: <1412015213-22268-8-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1412015213-22268-1-git-send-email-peter.maydell@linaro.org> References: <1412015213-22268-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Subject: [Qemu-devel] [PULL 07/19] hw/input/tsc210x.c: Delete unused array tsc2101_rates 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.217.172 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 array tsc2101_rates[] is unused (and we don't implement the TSC2101 anyway, only the 2102); delete it. Signed-off-by: Peter Maydell Message-id: 1410723223-17711-5-git-send-email-peter.maydell@linaro.org --- 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 */