From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH] mmc: sdhci-pxav3: Remove unused variable in sdhci_pxav3_remove() Date: Fri, 08 Aug 2014 17:38:19 +0200 Message-ID: <6429061.3nhKdDRquU@avalon> References: <1407511931-26712-1-git-send-email-geert+renesas@glider.be> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from galahad.ideasonboard.com ([185.26.127.97]:36890 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752807AbaHHPhq (ORCPT ); Fri, 8 Aug 2014 11:37:46 -0400 In-Reply-To: <1407511931-26712-1-git-send-email-geert+renesas@glider.be> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Geert Uytterhoeven , linux-mmc@vger.kernel.org Cc: Chris Ball , Ulf Hansson , linux-kernel@vger.kernel.org Hi Geert, Thank you for the patch, but you're a bit too late :-) http://article.gmane.org/gmane.linux.kernel.mmc/28097 On Friday 08 August 2014 17:32:11 Geert Uytterhoeven wrote: > 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); -- Regards, Laurent Pinchart