From patchwork Fri Aug 8 15:32:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4697041 Return-Path: X-Original-To: patchwork-linux-mmc@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 E9F3D9F373 for ; Fri, 8 Aug 2014 15:32:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 09BAB20158 for ; Fri, 8 Aug 2014 15:32:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4181720154 for ; Fri, 8 Aug 2014 15:32:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756628AbaHHPc3 (ORCPT ); Fri, 8 Aug 2014 11:32:29 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:51788 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756293AbaHHPc2 (ORCPT ); Fri, 8 Aug 2014 11:32:28 -0400 Received: from ayla.of.borg ([84.193.84.167]) by michel.telenet-ops.be with bizsmtp id cFYQ1o0083cczKo06FYQv0; Fri, 08 Aug 2014 17:32:27 +0200 Received: from geert by ayla.of.borg with local (Exim 4.76) (envelope-from ) id 1XFm9M-0006xM-3S; Fri, 08 Aug 2014 17:32:12 +0200 From: Geert Uytterhoeven To: Chris Ball , Ulf Hansson , Laurent Pinchart Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] mmc: sdhci-pxav3: Remove unused variable in sdhci_pxav3_remove() Date: Fri, 8 Aug 2014 17:32:11 +0200 Message-Id: <1407511931-26712-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.7.9.5 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.6 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 8f69e585ca3ad324ea57e113bff06d366dfa010e ("mmc: sdhci-pxav3: Use devm_* managed helpers") removed the later user of pxa: drivers/mmc/host/sdhci-pxav3.c: In function 'sdhci_pxav3_remove': drivers/mmc/host/sdhci-pxav3.c:400:20: warning: unused variable 'pxa' [-Wunused-variable] struct sdhci_pxa *pxa = pltfm_host->priv; ^ Signed-off-by: Geert Uytterhoeven --- drivers/mmc/host/sdhci-pxav3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index 527dfa3faeab..6f842fb8e6b8 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -397,7 +397,6 @@ static int sdhci_pxav3_remove(struct platform_device *pdev) { struct sdhci_host *host = platform_get_drvdata(pdev); struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); - struct sdhci_pxa *pxa = pltfm_host->priv; pm_runtime_get_sync(&pdev->dev); sdhci_remove_host(host, 1);