From patchwork Tue Mar 28 14:07:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9649725 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 B292560113 for ; Tue, 28 Mar 2017 14:08:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A17C3283A6 for ; Tue, 28 Mar 2017 14:08:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95786283E2; Tue, 28 Mar 2017 14:08:41 +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 32BB1283A6 for ; Tue, 28 Mar 2017 14:08:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A6156E601; Tue, 28 Mar 2017 14:08:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 13882 seconds by postgrey-1.35 at gabe; Tue, 28 Mar 2017 14:08:39 UTC Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 041A56E601 for ; Tue, 28 Mar 2017 14:08:38 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0MMb9i-1cmoqh3URq-008GyN; Tue, 28 Mar 2017 16:08:22 +0200 From: Arnd Bergmann To: Liviu Dudau , Brian Starkey , Mali DP Maintainers , David Airlie Subject: [PATCH] drm: mali-dp: remove unused variable Date: Tue, 28 Mar 2017 16:07:58 +0200 Message-Id: <20170328140812.1410346-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Lrc1o4vSpSrYCLNMxSXBKmmzcfvRX5EcBeVn4rR6PRePek9SRfg JRgDIuClvED9EgbaoHY14ekJJ4fVX63W1ZCKoUlv6vpw3Y4+P2RUyDv/Hc9YrS+y/XeTz++ PsLD5BJ0NoqBVil6dWnHnB5U6BhiPbnUN4iioPBiSixB9IzofPSWNCHolUbx3aZcRYuTjK2 RXEr609RJFdG7Wyhe1ltw== X-UI-Out-Filterresults: notjunk:1; V01:K0:9vMYAPyq7+8=:fkC9J/B/U2YVX0x7A3u9gJ WQSPKyIAXW5b7bh/VDe4aSj8gbD1TLT5QHQjLFN2lNCeoXwwWn1ynddpNbEP+CobNKixpSBAq 3qJFhKrHXpT2+1WVymABLPD5j04aBWe1PcOhEGTc+NkfUDBV5pX8FATecDpE9mOgzC0zf7HPv 8s5RJSFEZRVjqX+/xf7wVdEvkld3jCigE7Jd0U2Re6ZHV6kUQjnAxFK+hYo9XJwp7J6t8ngvP ENEjbxll+rKDcsYJbnrF02IaNQQpKNGsoxSCMZbMkPhgJquUiKA9KNsX6h0lUuBmCa851NBau pDmwzDWCDvCLt1Q6R+a4p79ATVwJQlGoCqIvd4Kjo1mnHYG1Vq5TZwWp03pcPqdhJDLkaoNnD kRM/2IQsQIU23nlxVNI7hRGh3c6sanMD0UqxKjXBw4lh058LVDLePLe2sKWmolLCUAVio28nB KxBKBkoO3AO6uqoB+osrOsgGgnL+qOYC2mCR9oZrtfkLv5fBz4GWkhuigy3MliAaspDnWg17f jL4zzXuTgVtNBtNxtNd9iRfmj5nVicClJ2h0w3dCliQZYKZl5qYT4rUts18FbxS4DZNs7J/CM KqkUZ2WLow6sASt67fGquEKJ9djKpxCcpZ7HhvSgrM59FcRPbY2lAFJqtuRI3F0wUsqlC1IZw UKquW44rFx2XHKxoQGgMnNza7PVMxgX51buxi4EvqRWT+owsCHl/7b+c5jk0uP56/+2M= Cc: Arnd Bergmann , Joonas Lahtinen , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Mihail Atanassov , Shailendra Verma , Laurent Pinchart 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 newly introduced function causes a harmless build warning: drivers/gpu/drm/arm/malidp_planes.c: In function 'malidp_plane_atomic_print_state': drivers/gpu/drm/arm/malidp_planes.c:98:23: error: unused variable 'mp' [-Werror=unused-variable] The variable serves no purpose here and can be removed. Fixes: 242f43b69c61 ("drm: mali-dp: add atomic_print_state for planes") Signed-off-by: Arnd Bergmann Acked-by: Liviu Dudau --- drivers/gpu/drm/arm/malidp_planes.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/arm/malidp_planes.c b/drivers/gpu/drm/arm/malidp_planes.c index 5b0bad87f0b5..afd59e0f7918 100644 --- a/drivers/gpu/drm/arm/malidp_planes.c +++ b/drivers/gpu/drm/arm/malidp_planes.c @@ -95,7 +95,6 @@ static void malidp_plane_atomic_print_state(struct drm_printer *p, const struct drm_plane_state *state) { struct malidp_plane_state *ms = to_malidp_plane_state(state); - struct malidp_plane *mp = to_malidp_plane(state->plane); drm_printf(p, "\trotmem_size=%u\n", ms->rotmem_size); drm_printf(p, "\tformat_id=%u\n", ms->format);