From patchwork Tue Feb 21 22:03:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9585803 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D78A96042F for ; Tue, 21 Feb 2017 22:04:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD1B92842E for ; Tue, 21 Feb 2017 22:04:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B103128644; Tue, 21 Feb 2017 22:04:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 50C792842E for ; Tue, 21 Feb 2017 22:04:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0EF706E715; Tue, 21 Feb 2017 22:04:22 +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 [212.227.17.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9CC2F6E715 for ; Tue, 21 Feb 2017 22:04:20 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0LeLhV-1bzTwQ3isH-00qAcD; Tue, 21 Feb 2017 23:04:16 +0100 From: Arnd Bergmann To: Vincent Abriou Subject: [PATCH 1/2] drm/sti: remove unused variable Date: Tue, 21 Feb 2017 23:03:24 +0100 Message-Id: <20170221220408.258430-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Kz8lSl8nC/1EzrKCoEN1GvFNw0gaK8GBJ5zeNwfTD6X60gZpY3m OGIWOPD16+kC+iuVv0ZB0WEBdz0kzJ4PcR270ZyJ3ar3dTfKEttvPoUq4RvcWHx+KE6aglN V6aM1O50UeCGn4Etp5UEhIRzBeO6K0XMElp7YNrvgVVZ9gjCBS+REB/30or9CshosqzNRIl CjlrcnIKUzoGadL0+YN1Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:O/liE13fRHg=:VLLBITxRP5AF/ouUIgR/dt 4iZlyosmRT7L7TluhEqyeJUavroywL9NpmhwtdlSJnkAbRuK9Soi2twkMJWa7ZlK+RxIM4BD4 eozdX7dRy0pi9faBY3C2Is4cWobE9c7E0ROos0PfCx6Ndl+Gi2wMZ8Xe4dCwAZvUZ7BJtLGcn 4UIHmR+DhgAX7NWLoPLCt9asEJsC5JfeH2DgDfpmk6LBZSz4LgUV6pdFIqrfAyHZs4fbn2qtY iBpKuFeS18Taw1/91u9mXgs+XyMDe3oAt+M5uPZvSvO3xgE4LzIRveQjewns6TOXV2fc6to7M mVCH7FIfaC5/W4VSOw3juzUMNLLRxD+ChKeUUPaeWqj7wvSjqpw/YUKKkvN9ueKDyUUlmvzCH +K5fo7kCHiyI7NgbJ3NwlsoI3VmMv0f2EZF+FNCwuCS/AUyaA58pWYAi38I61bwoD/m21keVY TGhPXYsGpMP+h+2oEBjJqiYcs1NY6zemS83sqJQbM1+Lbq/5Lql62wD1L3n8EHnahAOJ+hesY EowqaWhAf8NixCaHpWoyMC5wvTrK/z4qK2OsePOGk6YjKAY0+a1BQWm1dW5iR5dl2Q6kFO9ZW GGsaOvh/Dklyqz+i7FWywuJslEKdYwcTpSPIbNHCtockXHJrCNyuXJLMnogHG1cw3QYMycBvL zOaUV+Rbv3/O99nYhtcgSDP28A3t7qVAUmN3YQwqbnV+OoIcN1ApDiYlCpz+qTM4zlp8= Cc: Arnd Bergmann , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Bich Hemon 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-Virus-Scanned: ClamAV using ClamSMTP One variable was left behind after its user got removed and we should now delete the declaration as well: drivers/gpu/drm/sti/sti_vtg.c: In function 'vtg_probe': drivers/gpu/drm/sti/sti_vtg.c:392:22: error: unused variable 'np' [-Werror=unused-variable] Fixes: 0c7ff84f7f9d ("drm/sti: remove deprecated legacy vtg slave") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/sti/sti_vtg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c index 943bce56692e..2dcba1d3a122 100644 --- a/drivers/gpu/drm/sti/sti_vtg.c +++ b/drivers/gpu/drm/sti/sti_vtg.c @@ -389,7 +389,6 @@ static irqreturn_t vtg_irq(int irq, void *arg) static int vtg_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; - struct device_node *np; struct sti_vtg *vtg; struct resource *res; int ret;