From patchwork Thu Nov 14 21:09:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 3185321 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 C6CE39F3A0 for ; Thu, 14 Nov 2013 21:08:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07D752094D for ; Thu, 14 Nov 2013 21:08:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F6F72024D for ; Thu, 14 Nov 2013 21:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756757Ab3KNVIn (ORCPT ); Thu, 14 Nov 2013 16:08:43 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34510 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754766Ab3KNVIm (ORCPT ); Thu, 14 Nov 2013 16:08:42 -0500 Received: by mail-pa0-f54.google.com with SMTP id lj1so2648427pab.13 for ; Thu, 14 Nov 2013 13:08:41 -0800 (PST) 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; bh=zpJmKIrR3gLqrZO3G4yI59kgSUCCHcrfJJ/znb+wol4=; b=gtiMHn51pgUKJktF++74SM1GGtcEzFe29XnNzbYFMc/5av0mC6vWXyzDYgZHtYizGA Hvi0CoOWaVR9zUBr+IeScoa7oWwdZy/JEUX/Gy2Suns9ynbNtAFons/1WP31c44rHD7v OUel4wxxPhVwVBD4J6SkHBx6o2eH4D3PUBwkk8AYzq0D7JtXrLTtJry7FdigttyD8tRx 7kRoVfsfd+RPHVzYfTDXkSuUUOPPz3MxMW3vCRg4zXqgmhDu0sa4NPkjE8hmuubvc70h aRo+aNbvPqy1Ur9RcU8RsB1yn9hcisvxfGOeaYeP8vrRcxLXXGftpK1I+JQrGXeSuvn6 YOCg== X-Gm-Message-State: ALoCoQntDAoLX6AbBvbbvCrU11LwgJJsHqX8e7rg2lnF6BOvyLlPPmVihDBIsYVXUeXr7Px09MoH X-Received: by 10.66.141.144 with SMTP id ro16mr3247337pab.173.1384463321829; Thu, 14 Nov 2013 13:08:41 -0800 (PST) Received: from brutus.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPSA id ha10sm29143983pbd.17.2013.11.14.13.08.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Nov 2013 13:08:41 -0800 (PST) From: Olof Johansson To: Greg Kroah-Hartman Cc: Kishon Vijay Abraham I , linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Olof Johansson , Sylwester Nawrocki Subject: [PATCH] video: exynos_mipi_dsim: Remove unused variable Date: Thu, 14 Nov 2013 13:09:24 -0800 Message-Id: <1384463364-28864-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.7.10.4 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, 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 commit 7e0be9f9f7cba3356f75b86737dbe3a005da067e ('video: exynos_mipi_dsim: Use the generic PHY driver') resulted in a warning about an unused variable: drivers/video/exynos/exynos_mipi_dsi.c:144:26: warning: unused variable 'pdev' [-Wunused-variable] It is indeed unused; remove it. Signed-off-by: Olof Johansson Cc: Sylwester Nawrocki Acked-by: Inki Dae --- 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;