From patchwork Mon Apr 25 13:11:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8927861 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 80042BF29F for ; Mon, 25 Apr 2016 13:11:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A76C9201FA for ; Mon, 25 Apr 2016 13:11:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8ACDA201F2 for ; Mon, 25 Apr 2016 13:11:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B68106E5E2; Mon, 25 Apr 2016 13:11:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 719DF6E5E2 for ; Mon, 25 Apr 2016 13:11:37 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0LwZF1-1bmWki2OVj-018NPv; Mon, 25 Apr 2016 15:11:27 +0200 From: Arnd Bergmann To: Laurent Pinchart , David Airlie Subject: [PATCH] drm: rcar: remove unused variable Date: Mon, 25 Apr 2016 15:11:08 +0200 Message-Id: <1461589881-1394495-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:T9D+4t++tY6IMjSWy9ty71NXpa0qE5yUtYhT2V3JF4NY0m2WgA/ +Nn090flY0f1ZBD6huuFujonrz/AzaFm58mUliUdrNB4MTTQfNyFyc9R0u4LcxXjyZEFx02 S46/V7fiNX0ph2JU95a+B7VijWyoN9bzcMypbNfvPTdjE3lAsrvYzUkAa5FhvqmR4jZ0dek S2Ua9wPcnYeqfwocWk7Sg== X-UI-Out-Filterresults: notjunk:1; V01:K0:6MY/bNmpmT8=:/sm1R/dkOtX0rGcumb0g1e okWK6tzWqq9hhchSS/8o1gQ2+weWqXxhejH2usEaRiTyd2tJ6BW3DU15HO1twFf7eGTMbYQyh ztXihDNvrwob+L3BlL2e1GwOp26g3ouwgriJQXYTQ0BlBUK4e8/B3XOQToAhpMg+Z9RyWWqMK /bO+1x+7HEq2QfzQG7ELCnbMWH6BibF3i/4cNuemzXl3wIhqonxwQcuPRGLwl/YwaQw13hFFh k+fCB90LrsZl+fFVXzx2aQOrRfODdbHKC+JmmXQuq2wuqnLv4WWrXo4C53+aG7qAxSTq+VFFS LRLFeWxgrd03zFTP02Dxkt2WAdYAdMbaDCQD6ejyzHS8ZDEgtSAxMOL9dXkKbOP9QCmw17JmL 28hukZPy6SdIzrAQqfFBMuNGa10ft1Uz5NxQU36Dok7Tp9EEIEu4JiDppXNjVqWZddxIzQjrZ 6O7dYTnyXeiMlzwazFdV/69VhHnA7HLBg2vjq9p1z4jtpDbjlkBfmD+3pZUA309oMAOuaRuYr /h7pROzivo30plOypYq3G6FtpwCqRf4ahroATPRz3rudPb1O/xJzrJM4HpwUQIqtA99szo8LL K37qoRxljl/hPjZvjg+HzCByRyD6EsPzjNVXn8KCMGaPaSp22UMSuoiqWfwTOJW0xsc5kX0yr 9hjKAAORv5syzSqwnT1AOcpWiNBHDJu0ZwF2dK4Kgj8TyCFC+FLO+VS1/M+y6uIWVKMw= Cc: Arnd Bergmann , Geert Uytterhoeven , Daniel Vetter , Alexey Brodkin , Koji Matsuoka , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 A cleanup for the rcar-du driver left an unused variable behind: drm/rcar-du/rcar_du_drv.c: In function 'rcar_du_probe': drm/rcar-du/rcar_du_drv.c:300:24: error: unused variable 'connector' [-Werror=unused-variable] This removes the variable. Signed-off-by: Arnd Bergmann Fixes: d63c25e4245a ("drm: rcar-du: Use generic drm_connector_register_all() helper") --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index 0f251dc11082..fb9242d27883 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c @@ -297,7 +297,6 @@ static int rcar_du_probe(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node; struct rcar_du_device *rcdu; - struct drm_connector *connector; struct drm_device *ddev; struct resource *mem; int ret;