Received: by 10.223.176.46 with SMTP id f43csp691268wra; Fri, 26 Jan 2018 05:28:23 -0800 (PST) X-Google-Smtp-Source: AH8x226JIHOi2WGqeNcrp3Kt9FICGVF22kWXDw3ZkIbLVs1oz5H3EmRPiSAu7OqLKLZ/OffjYbPu X-Received: by 2002:a17:902:7586:: with SMTP id j6-v6mr2379902pll.23.1516973303324; Fri, 26 Jan 2018 05:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516973303; cv=none; d=google.com; s=arc-20160816; b=1FntGV6T/equke7pmtgdY1E38XhproI92SlxexMZ3Xkw5+cRTJ7cZ6LjHXT8+eEPCC 8cz8o76R/3jpMRB4B7bSgvLYHxLjjgglo92SvD2mxbOABZFOPwPw3QaFx7UFbvnrNh1J YLUxYRZ4bM/Ga6s84gHimX38s/CGWBSBL/7TAtOdHGmLFbdEk7qVJYQuEMBGnSROiY2y 3UMUNDcOogrn/CFmt/CdN52R92N15xHV3KX8fu8hAeG9paNsUtVepeytgT8QYFfGm2I3 3t4r3cIAuWXqVTjh0GIEGbqbKXQxmeKJfuxIOz4rGkw5yUfHuRkOtKXGS9Pfk0ivDg+r +2Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfert-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=PYJYJqagqUqofZDcyt3aD7tXpVre79IrJKcgvRpPPzU=; b=XfUSQgQzCsjc5LYyKiuhI8H2addnGdzQpEvjm7MET43S20a7zD2iaqskG1SOg6FmPu mPOVZdWPeGeDmSqTsSG7yEm/2f0OHAEwvCUVKBN0fcc4cvb9qeCpqLQep9fBACQXeJf7 lPuMT4KZef8MMiotMBil0OG1GROm0sKi+XAaWcgH7ciAS7dwrQ1QGN+SFgfkVzYJgjVl GkgWlg7wXzP7EGBHbaeKxyw7Y0g1ScvF5enCnMr1Xh6QsqJKXBdYWrWw0d1rIBhuPgb9 xeNJF/jX+zGk4Tkb9MuTVsqBHpfAs8Hz4tEOIMTCxiCc1pMAs8c6XfY81ka0oZlWdaiE /j+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16-v6si3102793pli.182.2018.01.26.05.28.09; Fri, 26 Jan 2018 05:28:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751840AbeAZNRn (ORCPT + 99 others); Fri, 26 Jan 2018 08:17:43 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34316 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbeAZNRj (ORCPT ); Fri, 26 Jan 2018 08:17:39 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e35:8a7e:4790:a8d7:ca4:7b4f:7f87]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tescande) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id B5DCB274704; Fri, 26 Jan 2018 13:17:37 +0000 (GMT) From: Thierry Escande To: Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , Sean Paul , David Airlie , Tomasz Figa Cc: Haixia Shi , =?UTF-8?q?=C3=98rjan=20Eide?= , Zain Wang , Yakir Yang , Lin Huang , Douglas Anderson , Mark Yao , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 01/43] drm/rockchip: Get rid of unnecessary struct fields Date: Fri, 26 Jan 2018 14:16:28 +0100 Message-Id: <20180126131710.7622-2-thierry.escande@collabora.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180126131710.7622-1-thierry.escande@collabora.com> References: <20180126131710.7622-1-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tomasz Figa This patch removes unused fields from vop structure. Signed-off-by: Tomasz Figa Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index ba7505292b78..7a137bc5708c 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -95,9 +95,6 @@ struct vop { struct drm_device *drm_dev; bool is_enabled; - /* mutex vsync_ work */ - struct mutex vsync_mutex; - bool vsync_work_pending; struct completion dsp_hold_completion; /* protected by dev->event_lock */ @@ -1567,8 +1564,6 @@ static int vop_bind(struct device *dev, struct device *master, void *data) spin_lock_init(&vop->reg_lock); spin_lock_init(&vop->irq_lock); - mutex_init(&vop->vsync_mutex); - ret = devm_request_irq(dev, vop->irq, vop_isr, IRQF_SHARED, dev_name(dev), vop); if (ret) -- 2.14.1