From patchwork Tue Oct 7 15:18:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 5046711 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 30CB69F295 for ; Tue, 7 Oct 2014 15:18:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65F1120211 for ; Tue, 7 Oct 2014 15:18:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CD51620166 for ; Tue, 7 Oct 2014 15:18:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754383AbaJGPSi (ORCPT ); Tue, 7 Oct 2014 11:18:38 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:50066 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753478AbaJGPSh (ORCPT ); Tue, 7 Oct 2014 11:18:37 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ND200L6OYIZ4KD0@mailout1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 08 Oct 2014 00:18:35 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.112]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id D7.D9.17016.B4404345; Wed, 08 Oct 2014 00:18:35 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-29-5434044b0c6f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 97.C0.09430.B4404345; Wed, 08 Oct 2014 00:18:35 +0900 (KST) Received: from daeinki-desktop.10.32.193.11 ([10.252.83.67]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ND200KKFYIZ66E0@mmp1.samsung.com>; Wed, 08 Oct 2014 00:18:35 +0900 (KST) From: Inki Dae To: dri-devel@lists.freedesktop.org Cc: airlied@linux.ie, linux-samsung-soc@vger.kernel.org, Inki Dae Subject: [PATCH] drm/exynos: vidi: fix build warning Date: Wed, 08 Oct 2014 00:18:34 +0900 Message-id: <1412695114-1883-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsWyRsSkQNebxSTE4M4hJYvecyeZLK58fc9m Men+BBaLGef3MTmweGz/9oDV4373cSaPvi2rGD0+b5ILYInisklJzcksSy3St0vgyngw9T5r wSvWipuLX7I3MP5i6WLk5JAQMJG41LKKGcIWk7hwbz1bFyMXh5DAUkaJuyvms8MUfTwxgRUi sYhRYnL7DLBuIYFuJonTh1hBbDYBVYmJK+6zgdgiAsoSfyeuYgSxmQWiJJYfXgo2SBho0I7O Q0A2BwcLUP29XRkgYV4BZ4nX06azgIQlBBQk5kyygVj7mE3i9/QoEJtFQEDi2+RDUCWyEpsO QJ0sKXFwxQ2WCYyCCxgZVjGKphYkFxQnpRcZ6hUn5haX5qXrJefnbmIEBuLpf896dzDePmB9 iFGAg1GJh3eFlnGIEGtiWXFl7iFGU6ANE5mlRJPzgeGeVxJvaGxmZGFqYmpsZG5ppiTOqyj1 M1hIID2xJDU7NbUgtSi+qDQntfgQIxMHp1QDo+rca6HbLK/eCvq/oOnWowe3PyTb7NY6v+bN H7kHNS3T5u56dZLDvZpbdvsHh9yzJ/lMtzOEHHtiJ2C3QcitM809vUtfur75RfZRG6G5i+ca 6N888PAZ5+2EbDU3NetdU3eEvD2UN2f9fua1MbU5dUUvXIVrWQynXxePEU+1K11l+cj74OXD qUosxRmJhlrMRcWJAA/krQM/AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsVy+t9jAV1vFpMQg56r0ha9504yWVz5+p7N YtL9CSwWM87vY3Jg8dj+7QGrx/3u40wefVtWMXp83iQXwBLVwGiTkZqYklqkkJqXnJ+SmZdu q+QdHO8cb2pmYKhraGlhrqSQl5ibaqvk4hOg65aZA7RTSaEsMacUKBSQWFyspG+HaUJoiJuu BUxjhK5vSBBcj5EBGkhYw5jxYOp91oJXrBU3F79kb2D8xdLFyMkhIWAi8fHEBFYIW0ziwr31 bF2MXBxCAosYJSa3zwArEhLoZpI4fQisiE1AVWLiivtsILaIgLLE34mrGEFsZoEoieWHl7KD 2MJAQ3d0HgKyOThYgOrv7coACfMKOEu8njadBSQsIaAgMWeSzQRG7gWMDKsYRVMLkguKk9Jz jfSKE3OLS/PS9ZLzczcxggP9mfQOxlUNFocYBTgYlXh4V2gZhwixJpYVV+YeYpTgYFYS4Z3y HijEm5JYWZValB9fVJqTWnyI0RRo90RmKdHkfGAU5pXEGxqbmBlZGpkbWhgZmyuJ8x5stQ4U EkhPLEnNTk0tSC2C6WPi4JRqYGS/fZZp3/mW0Cq/n0oPvfZYqvYeViia87usw/yDbN8SQzld 1h8rmyPtHrdu9he2+X81IPpZ19qUG9/48hk17+d2MnQenXSXe/KVlEm/v6lnXGhfMuc7Y2Dl jMXHlv6S+tCVtDbxdPGK+eWpOSfXLhYODn7H8CWAJ9x7xizGzptpn2ymhZ9puKXEUpyRaKjF XFScCABGp3eHigIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 encoder object isn't used anymore so remove it. Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 9395e85..50faf91 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -630,7 +630,6 @@ static int vidi_remove(struct platform_device *pdev) { struct exynos_drm_manager *mgr = platform_get_drvdata(pdev); struct vidi_context *ctx = mgr->ctx; - struct drm_encoder *encoder = ctx->encoder; if (ctx->raw_edid != (struct edid *)fake_edid_info) { kfree(ctx->raw_edid);