From patchwork Mon Oct 21 05:32:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3074541 Return-Path: X-Original-To: patchwork-linux-fbdev@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 C1D0D9F2B8 for ; Mon, 21 Oct 2013 05:33:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 069CD203B5 for ; Mon, 21 Oct 2013 05:33:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E53812037F for ; Mon, 21 Oct 2013 05:33:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752572Ab3JUFdP (ORCPT ); Mon, 21 Oct 2013 01:33:15 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:52093 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752534Ab3JUFdO (ORCPT ); Mon, 21 Oct 2013 01:33:14 -0400 Received: by mail-pa0-f42.google.com with SMTP id kx10so7496953pab.15 for ; Sun, 20 Oct 2013 22:33:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=zTOnFXWlehV5LUu73sxBR8LIzCGBHBjW8t1T1oSLJjA=; b=Yi7uz9Gk6UWFyv2xJgu9i+qJPXPl7VVGb8j+UbdYeXfIsil0vWNM8x/0d8opN5vp44 WpMnTYUq1NQX5Bv9MdVaQHh1cOPnPSM/iFHz2FAU9jXMfgEBUUBm6Aq4YTHVb/d9Ta4x 1Cu+17sFFfcTrAj9FXUABGBwmkNYKUh6ZBZ7ZMW0SMFynz5xLgcJq7AHQdE2BffkhZ83 xqrPAoiBo0F+0Z2Wl3OXjAYnNk9wwsf/ShdycGaWRRAKuIQBEDuXEhNIiWirA/fj3EkG Y3c+EKq5kGCFbuI55mkBj4RImQUzNppIaieuZKPZXnSMlJc6NEN8uyidvS2V9es0ARHl i/XA== X-Gm-Message-State: ALoCoQkYPZSsC8Q35gXjeO889IhlsUihQPO9PZnDw9Zxq0XDvwenl2s0KolLtFo7aRw9QkbxNSIu X-Received: by 10.66.158.196 with SMTP id ww4mr16487290pab.57.1382333594424; Sun, 20 Oct 2013 22:33:14 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id hz10sm18261651pbc.36.2013.10.20.22.33.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 20 Oct 2013 22:33:14 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, inki.dae@samsung.com, kishon@ti.com, s.nawrocki@samsung.com, gregkh@linuxfoundation.org, sachin.kamat@linaro.org Subject: [PATCH 1/1] video: exynos_mipi_dsi: Remove unused variable Date: Mon, 21 Oct 2013 11:02:13 +0530 Message-Id: <1382333533-32740-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.3 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 'pdev' is not used anymore (Removed vide commit 7e0be9f9 "video: exynos_mipi_dsim: Use the generic PHY driver"). Remove it and silence the following compilation warning: drivers/video/exynos/exynos_mipi_dsi.c:144:26: warning: unused variable ‘pdev’ [-Wunused-variable] Signed-off-by: Sachin Kamat Reviewed-by: Kishon Vijay Abraham I --- drivers/video/exynos/exynos_mipi_dsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 00b3a52..cee9602 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -141,7 +141,6 @@ static int exynos_mipi_dsi_early_blank_mode(struct mipi_dsim_device *dsim, static int exynos_mipi_dsi_blank_mode(struct mipi_dsim_device *dsim, int power) { - struct platform_device *pdev = to_platform_device(dsim->dev); struct mipi_dsim_lcd_driver *client_drv = dsim->dsim_lcd_drv; struct mipi_dsim_lcd_device *client_dev = dsim->dsim_lcd_dev;