From patchwork Mon Sep 29 18:26:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 38095 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D4664201F1 for ; Mon, 29 Sep 2014 18:31:39 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id n3sf2659174wiv.1 for ; Mon, 29 Sep 2014 11:31:39 -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=K3ED8HuUXVEDwj1h8SNNBjzo0oNNGiEhkE7t4jSyVSA=; b=YFFg32aATmxW4DflXjbHEmsJOUML7Y94SDkpE9qptQSx748u3UdibNFJWPJXPyvqCU T8Tg5fmnbCHUtkSwzr1wiBkPLjL1NdxDf5/OM8r2aqW23pOcv+qc9hBtfVczjKmYWIdb 6wddCfYX314PIXjKR3dyBnjxyK+fVDhj4mVCb0WX1L3xjPy9c+83vh6F12AEMoUdEnWK Ca6DntRYLcDmU+M62DOBPCyFOVK4rL84F8KaZ+4/yR/ygXMuLSfkImxG0UxuIPyiDxB9 gwoVrxcBRHr8ln/9sPCfqPkjgavi3GdbRvSOBR7DkHzEjhUqr+/zvf57GHNw4DsIQTQj VsLA== X-Gm-Message-State: ALoCoQmi3tRZO/deYBwlOVp4Rx/xYoSwcUnKKYszIrwScUZXydi3mWrJEdFXualBa33h6dZfhgan X-Received: by 10.112.62.130 with SMTP id y2mr4856783lbr.4.1412015498999; Mon, 29 Sep 2014 11:31:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.4.43 with SMTP id cb11ls665989lad.23.gmail; Mon, 29 Sep 2014 11:31:38 -0700 (PDT) X-Received: by 10.112.209.37 with SMTP id mj5mr39915534lbc.55.1412015498856; Mon, 29 Sep 2014 11:31:38 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx.google.com with ESMTPS id t1si19392958lbv.79.2014.09.29.11.31.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 11:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id 10so16569706lbg.4 for ; Mon, 29 Sep 2014 11:31:38 -0700 (PDT) X-Received: by 10.152.42.136 with SMTP id o8mr41338529lal.71.1412015498785; Mon, 29 Sep 2014 11:31:38 -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 of9csp225018lbb; Mon, 29 Sep 2014 11:31:38 -0700 (PDT) X-Received: by 10.140.30.66 with SMTP id c60mr8563468qgc.63.1412015497675; Mon, 29 Sep 2014 11:31:37 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l7si8121988qac.52.2014.09.29.11.31.37 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 29 Sep 2014 11:31:37 -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]:38337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYfjU-0006fz-Pk for patch@linaro.org; Mon, 29 Sep 2014 14:31:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYffD-0008Ge-Qj 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-0007YK-Bk 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 1XYffC-0007L2-6Z 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 1XYfev-0005o6-VL for qemu-devel@nongnu.org; Mon, 29 Sep 2014 19:26:53 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 29 Sep 2014 19:26:40 +0100 Message-Id: <1412015213-22268-7-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 06/19] hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set 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.173 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 pxa2xx_dma_rdst_set() is unused; delete it. Signed-off-by: Peter Maydell Message-id: 1410723223-17711-4-git-send-email-peter.maydell@linaro.org --- 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) {