From patchwork Sun Sep 14 19:33:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 37391 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 63FD9206A5 for ; Sun, 14 Sep 2014 19:35:58 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id bs8sf1488764wib.2 for ; Sun, 14 Sep 2014 12:35:57 -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=+vRPq3YdIcNazBXyX+bJHAnfZuf51MNwM7MQjOjtx/Y=; b=hvghXLp51bKzmM0yoYamRfQtRPVZd2zGt+fZqnNUiEl48Vy/Wm90FtpZZhF5dRuo// Gtjg63J/pT51UKbZrHQhdDXz12uNbUyXe/h1Jy1Z8CIzsSA02FjZ/8sATLGV/sQRvxCS 5zddhbuHYajtiHRerHlynAgEiIN8nTmptx9f6Tw506niWtxFSFthJD6JZSWGCIZtmD/g RIU74tB9LCPJTlpRSNXAPEvYaTdZH9Pshh3XvVvaoXS7Ne6F8rIoxhzpqMXXm54hCj9o 5nQ0lj+M3lTzAFYjc4zqQcoblyRFIF/E73PVSaL2HojE/4FyXSKbzSUacj+vT+MfD2cK iN2Q== X-Gm-Message-State: ALoCoQkk60sgvTiaRo4JTAFYVjK+/2Mzjt2oZb8+r+eeZOOS4Y6l9aFTfPdPcNWifTGA9kHYSQNH X-Received: by 10.181.13.195 with SMTP id fa3mr4385918wid.0.1410723357638; Sun, 14 Sep 2014 12:35:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.102 with SMTP id p6ls265919laj.28.gmail; Sun, 14 Sep 2014 12:35:57 -0700 (PDT) X-Received: by 10.152.25.170 with SMTP id d10mr22917970lag.37.1410723357396; Sun, 14 Sep 2014 12:35:57 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx.google.com with ESMTPS id uh7si16189400lac.19.2014.09.14.12.35.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Sep 2014 12:35:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id 10so3403630lbg.33 for ; Sun, 14 Sep 2014 12:35:57 -0700 (PDT) X-Received: by 10.152.42.136 with SMTP id o8mr4113418lal.71.1410723357010; Sun, 14 Sep 2014 12:35:57 -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 of9csp113093lbb; Sun, 14 Sep 2014 12:35:56 -0700 (PDT) X-Received: by 10.70.130.74 with SMTP id oc10mr37299914pdb.94.1410723355620; Sun, 14 Sep 2014 12:35:55 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id ob4si19216223pdb.250.2014.09.14.12.35.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 14 Sep 2014 12:35:55 -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 1XTFYN-0004cN-Vu; Sun, 14 Sep 2014 20:33:43 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org Subject: [PATCH 3/4] hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set Date: Sun, 14 Sep 2014 20:33:42 +0100 Message-Id: <1410723223-17711-4-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.217.174 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 function pxa2xx_dma_rdst_set() is unused; delete it. Signed-off-by: Peter Maydell --- hw/display/pxa2xx_lcd.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/display/pxa2xx_lcd.c b/hw/display/pxa2xx_lcd.c index 611fb17..ac3c018 100644 --- a/hw/display/pxa2xx_lcd.c +++ b/hw/display/pxa2xx_lcd.c @@ -279,14 +279,6 @@ static inline void pxa2xx_dma_ber_set(PXA2xxLCDState *s, int ch) s->liidr = s->dma_ch[ch].id; } -/* Set Read Status interrupt high and poke associated registers */ -static inline void pxa2xx_dma_rdst_set(PXA2xxLCDState *s) -{ - s->status[0] |= LCSR0_RDST; - if (s->irqlevel && !(s->control[0] & LCCR0_RDSTM)) - s->status[0] |= LCSR0_SINT; -} - /* Load new Frame Descriptors from DMA */ static void pxa2xx_descriptor_load(PXA2xxLCDState *s) {