Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3618192imu; Fri, 18 Jan 2019 13:42:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN4WkrO1WQkEDlxTnhFe1oFvEXdkTS6zAHj+3lJU1WaVWYenUjKMWNra8NCNiSUpwJwTn8YR X-Received: by 2002:a17:902:74cc:: with SMTP id f12mr20798036plt.134.1547847759864; Fri, 18 Jan 2019 13:42:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547847759; cv=none; d=google.com; s=arc-20160816; b=CJYp6oiMwU6O+01CZmx9vvv6e7E94ER0qBZkpxr5hBc2pTAvTmKT0Lr21JSpWw1jyD 5nTkEgyoCRYiGLXqzCLdI0TpsULy+r4+0A3NI0ZKTlmpu7UHcSvZ51bZwqSsZL7rVLAX V2somtlu/PXhBOhOhVyuDepw4XOn3swdmnEp902AKE+6owp2JFZ2sHozFGWU/ewhJ2Ur JrUT0PX0bcXFVbfDloxGp086qq1r2eYlBCrX0vwhCC161vr9qrIQd5itoKncs2cUVK6d VC+TEPF7m9ZtYN5sKTH0HEpXENS8B+6qLIjuaoMAN5XK9ytn8o3V7AXKaXvHxSb2TTGD 1PPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date; bh=uJeUiSOFOTs/yT4swuXYYXKGKglX1zyEjowyO7UcMCc=; b=EcK2il8hproABpB5JsJKBH1rwbXw5fZeBC5Nr+kqmiFgYvGxSwwJ1UdcDTQQmjFkgD PE+Ez6MONdS6RykQp6QNFFLq2UUXoBlsGei4CFBAsFYpS7jR7ANM1R1Mm9w4hO7okcL0 ifMp5HZZBN3uoMyCIrAcu58uCDz/KHFW2Y9aR+b+SR8ev8G9xdvfmA4/lrHTjNUJGi1K ZQQWOWs865u4ncL6DnqmqQ3y4WRCCERxo4PKe9+VPF4FMmlzyAmOZyOeM4y6j/6ElRaz ahmMFbmqI1GAAjwMGL3nhn2PBnJ1M9Tv7+473VtcVlCmIDXI2VjWrwpTEcGHC1x+CxFh +34A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si3815870pga.432.2019.01.18.13.42.23; Fri, 18 Jan 2019 13:42:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729801AbfARVkX (ORCPT + 99 others); Fri, 18 Jan 2019 16:40:23 -0500 Received: from gateway33.websitewelcome.com ([192.185.145.87]:40326 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729595AbfARVkX (ORCPT ); Fri, 18 Jan 2019 16:40:23 -0500 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 8F17A182FE8 for ; Fri, 18 Jan 2019 15:40:22 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id kbsEgahwJ4FKpkbsEg0HWy; Fri, 18 Jan 2019 15:40:22 -0600 X-Authority-Reason: nr=8 Received: from [189.250.130.205] (port=59080 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gkbsD-001fP8-QU; Fri, 18 Jan 2019 15:40:21 -0600 Date: Fri, 18 Jan 2019 15:40:18 -0600 From: "Gustavo A. R. Silva" To: "James (Qian) Wang" , Liviu Dudau , Brian Starkey , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] drm/komeda: Remove unused variable Message-ID: <20190118214018.GA24089@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.250.130.205 X-Source-L: No X-Exim-ID: 1gkbsD-001fP8-QU X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.130.205]:59080 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 7 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused variable *pdev* in komeda_parse_dt(): drivers/gpu/drm/arm/display/komeda//komeda_dev.c: In function ‘komeda_parse_dt’: drivers/gpu/drm/arm/display/komeda//komeda_dev.c:52:26: warning: unused variable ‘pdev’ [-Wunused-variable] struct platform_device *pdev = to_platform_device(dev); ^~~~ Fixes: 7e8d4fcf8daf ("drm: arm/komeda: Remove IRQ parsing from initial series") Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c index 16f4e72abc1a..0fe6954fbbf4 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c @@ -49,7 +49,6 @@ static int komeda_parse_pipe_dt(struct komeda_dev *mdev, struct device_node *np) static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev) { - struct platform_device *pdev = to_platform_device(dev); struct device_node *child, *np = dev->of_node; struct clk *clk; int ret; -- 2.20.1