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: 8927851 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-renesas-soc@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 DFBA2BF29F for ; Mon, 25 Apr 2016 13:11:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52B3C201EF for ; Mon, 25 Apr 2016 13:11:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 429C42015A for ; Mon, 25 Apr 2016 13:11:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932500AbcDYNLm (ORCPT ); Mon, 25 Apr 2016 09:11:42 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:50236 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932214AbcDYNLl (ORCPT ); Mon, 25 Apr 2016 09:11:41 -0400 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 Cc: Arnd Bergmann , Daniel Vetter , Geert Uytterhoeven , Koji Matsuoka , Alexey Brodkin , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org 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= Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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;