From patchwork Mon May 22 20:30:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9741335 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 4F9EC60388 for ; Mon, 22 May 2017 20:30:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 443302873F for ; Mon, 22 May 2017 20:30:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 390A728741; Mon, 22 May 2017 20:30:56 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 D8BC62873F for ; Mon, 22 May 2017 20:30:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E64176E299; Mon, 22 May 2017 20:30:51 +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.126.187]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7DFFE6E299 for ; Mon, 22 May 2017 20:30:49 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0MIDV8-1dFe3r3Ryo-003x0y; Mon, 22 May 2017 22:30:33 +0200 From: Arnd Bergmann To: Patrik Jakobsson , David Airlie Subject: [PATCH] gpu: drm: gma500: remove two more dead variable Date: Mon, 22 May 2017 22:30:20 +0200 Message-Id: <20170522203031.2912874-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:XHC5XACXgQFcsBSASzYbhQSI3CbjTwOIoHAPuW0trbfwHlMKh2z mJ+vyxQv/HL5oO26cta9mlaO3evceJsfhgLpv5b1Z2nzi9n/W5WMrBW627x6FyUfIMylwdU wWA5k997W8V5JlOXO6HtoeNaw6a1Y5azLSWcPkxGgUPHzDlXfX4CE/bBIECQdmEAV9q0JEY mp3c+alkUlmXjJYzQgIvw== X-UI-Out-Filterresults: notjunk:1; V01:K0:PuGv0cwwFvY=:08XsIVeTQ6c5+B6T3aEKNO vojz1BA2o9ZrfLFNNm3S+4vmC5D0pA/nebPnclc3t+W0k2aNWybpIgqjlsu5KNJUJq572pDmG U6eppZ+Ccndu44MCPZVM7tsPsNcew2xa/F0M8ngLg0aoxJcmtJomR+nxGkrHXX04BgVVPX+DX /nfZYqDGWSXvTmpJ4HzKMdbZpJG8rSnrOqBNswmj76VCub4qK+0hEYqnQ+hApi91ZWFyiQUhX XgM3SuxzEFUAaPCBmNEbO+fkwfDUaTdzrkF+5GU30TAp2XX3hmwBsPPQ2YNjtF9jgWgv4gkGF +o4fvi0fBiiz22n29d58e7nSmX9Gyl3Z2MavwkLYOyRCJVQkTJkvHbGpDNdRESihhoe7UtNx2 brLh8kZuTzk752UrsS+7fEpcGjXIG4E0Dscwi1Q+AE6jS4Ndgwqx23ryoVC/pVWNpV3Zf3Cii //k3UoVzqMr8mmmsedICGejaIR1p2k/Ndz2H8/9EfumUlLLQ2pj+wwrbdRmFMSyRCp4kp3CtO YgrAxZywv/8JBg9rgnm2n7dQvxDaesD4XrrwOCn59AA1jKkp5U2GFY+wK4QPWP1J4o2NLmJwT fCPLrFQRcFFNcYEdoAS9YkiYA9uAjP8wZ8srQOtPd42KtO+EP7r6SoLgwUaEZRdXo2GbjTfJg B7i6HY/aX3L0MHQ9Dc/Rlsib8jO4olwKYLUi8CXVTviHDV2gQNBXf0Xy7E1p9SQF8mF4= Cc: Daniel Vetter , "Gustavo A. R. Silva" , dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@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-Virus-Scanned: ClamAV using ClamSMTP The dead code removal left two unused variables: drivers/gpu/drm/gma500/mdfld_tpo_vid.c: In function 'tpo_vid_get_config_mode': drivers/gpu/drm/gma500/mdfld_tpo_vid.c:34:31: error: unused variable 'ti' [-Werror=unused-variable] This removes them as well. Fixes: 94d7fb4982d2 ("gpu: drm: gma500: remove dead code") Signed-off-by: Arnd Bergmann Signed-off-by: Patrik Jakobsson --- drivers/gpu/drm/gma500/mdfld_tpo_vid.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_tpo_vid.c b/drivers/gpu/drm/gma500/mdfld_tpo_vid.c index d40628e6810d..a9420bf9a419 100644 --- a/drivers/gpu/drm/gma500/mdfld_tpo_vid.c +++ b/drivers/gpu/drm/gma500/mdfld_tpo_vid.c @@ -30,8 +30,6 @@ static struct drm_display_mode *tpo_vid_get_config_mode(struct drm_device *dev) { struct drm_display_mode *mode; - struct drm_psb_private *dev_priv = dev->dev_private; - struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD; mode = kzalloc(sizeof(*mode), GFP_KERNEL); if (!mode)