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: 3185331 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 9C8D29F522 for ; Thu, 14 Nov 2013 21:08:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFD1C2024D 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 07CE92094A for ; Thu, 14 Nov 2013 21:08:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757082Ab3KNVIn (ORCPT ); Thu, 14 Nov 2013 16:08:43 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:59676 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756597Ab3KNVIm (ORCPT ); Thu, 14 Nov 2013 16:08:42 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so2645442pab.0 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=Vel89CTchGvZTXVjyRmKef3qft4fuzsPDpBe2hh9bYJH9yYxgLzLIqe3hLGIOqU4Cd PAugsIjw1+BABOluz6u9Z6zBWwAMBwnmstqC++hm4H1pDtGnWEY/cRqH1mBf+pmR2kL2 +FmWUOdjItogi9fsFO+IA3gmatusbwWW2cM9Z5KhuekQYsS5QJvKHDrks+oRuaIuT5mw ec1iDhEPbJnabu7E+haO1xcW7IVotN7F+bfkuxaSyNI+Z7B0dDwQ5wkeBiYHSotKoH6D rAViu7zAcgc+ULjlvs5aiQKJxYmA8cMj/ijg9FphO2fhQrFwBJxMqbiXjxWywATQfWaX x+8A== X-Gm-Message-State: ALoCoQnQlp0zB4x0tfhJmYamhL6Tdu5UN6+8MR4wS2Ht9lydEkclVeslP8ii2XOR7TD096mRHfqR 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-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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;