From patchwork Mon Mar 17 10:27:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 3842881 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 44F45BF540 for ; Mon, 17 Mar 2014 10:28:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 814DA2017A for ; Mon, 17 Mar 2014 10:28:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3B402015E for ; Mon, 17 Mar 2014 10:28:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932430AbaCQK2O (ORCPT ); Mon, 17 Mar 2014 06:28:14 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:38942 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932622AbaCQK2H (ORCPT ); Mon, 17 Mar 2014 06:28:07 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2K00LTFT2TMB30@mailout1.w1.samsung.com>; Mon, 17 Mar 2014 10:28:05 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-62-5326ce351aa6 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 89.EF.23059.53EC6235; Mon, 17 Mar 2014 10:28:05 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N2K00HBWT2JYZB0@eusync3.samsung.com>; Mon, 17 Mar 2014 10:28:05 +0000 (GMT) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org Cc: Andrzej Hajda , Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Pawel Moll , Ian Campbell , Kyungmin Park , Rob Herring , Kumar Gala , Grant Likely , Sean Paul , Inki Dae , Marek Szyprowski , Denis Carikli Subject: [PATCH 9/9] drm/exynos/fimd: remove unused variable Date: Mon, 17 Mar 2014 11:27:25 +0100 Message-id: <1395052045-23848-10-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1395052045-23848-1-git-send-email-a.hajda@samsung.com> References: <1395052045-23848-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsVy+t/xq7qm59SCDY6cYLK4te4cq8W8VROZ LeYfAbKufH3PZtH/ZiGrxYE/Oxgtzr1ayWgx6f4EFouzTW/YLWac38dksfbIXXaLpdcvMllM mL6WxaJ17xF2i7sbzjI68HusmbeG0WN2w0UWj8t9vUweM5a8YPRYufwLm8emVZ1sHneu7WHz uN99nMmjb8sqRo/Pm+QCuKK4bFJSczLLUov07RK4Muae+8ha8ISjovXYMrYGxpXsXYycHBIC JhLvJk5khLDFJC7cW8/WxcjFISSwlFHi36LNrBBOH5PErxsnwTrYBDQl/m6+yQZiiwgoS/yd uIoRpIhZYCKLxIy118ESwgI2EsumHQWzWQRUJTq3/mMGsXkFXCS2XPwLtU5BYtmXtWBxTqD4 oTVfgLZxAG1zlljzz38CI+8CRoZVjKKppckFxUnpuYZ6xYm5xaV56XrJ+bmbGCGB/WUH4+Jj VocYBTgYlXh4JyirBQuxJpYVV+YeYpTgYFYS4T19ACjEm5JYWZValB9fVJqTWnyIkYmDU6qB 0aLkmeVEzmuWn9LeRrRNWrmWK8FXdTrDYcONTa8/nrYxnhmbdFTLd/PhO6+OqovkvVKadC2z Jmru9kkKz4w8XczLr99jfelxMd8ppnmapeqzl3fObbl+fy+TD9vGDaeTL2nFS4XFX1aU2zR3 wrLjTIfP8DcKVObMuei69AkHo6/fcRY7V6uSCUosxRmJhlrMRcWJAC67RpFKAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The patch removes unused vidcon0 field from fimd_context structure. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index dbfad4e..375ec66 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -114,7 +114,6 @@ struct fimd_context { struct fimd_win_data win_data[WINDOWS_NR]; unsigned int default_win; unsigned long irq_flags; - u32 vidcon0; bool suspended; int pipe; wait_queue_head_t wait_vsync_queue; @@ -270,8 +269,7 @@ static void fimd_commit(struct exynos_drm_manager *mgr) writel(val, ctx->regs + driver_data->timing_base + VIDTCON2); /* setup clock source, clock divider, enable dma. */ - val = ctx->vidcon0; - val &= ~(VIDCON0_CLKVAL_F_MASK | VIDCON0_CLKDIR); + val = ~(VIDCON0_CLKVAL_F_MASK | VIDCON0_CLKDIR); if (ctx->driver_data->has_clksel) { val &= ~VIDCON0_CLKSEL_MASK;