Return-path: Received: from smtp.nokia.com ([192.100.105.134]:56668 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757849Ab0HKJzj (ORCPT ); Wed, 11 Aug 2010 05:55:39 -0400 Message-ID: <4C627378.2090304@nokia.com> Date: Wed, 11 Aug 2010 12:55:04 +0300 From: Adrian Hunter MIME-Version: 1.0 To: Ohad Ben-Cohen CC: "linux-wireless@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "linux-omap@vger.kernel.org" , Mark Brown , "linux-arm-kernel@lists.infradead.org" , Chikkature Rajashekar Madhusudhan , "Coelho Luciano (Nokia-MS/Helsinki)" , "akpm@linux-foundation.org" , San Mehat , "Quadros Roger (Nokia-MS/Helsinki)" , Tony Lindgren , Nicolas Pitre , Pandita Vikram , Kalle Valo Subject: Re: [PATCH v3 6/9] omap: hsmmc: remove unused variable References: <1281478348-24833-1-git-send-email-ohad@wizery.com> <1281478348-24833-7-git-send-email-ohad@wizery.com> In-Reply-To: <1281478348-24833-7-git-send-email-ohad@wizery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Ohad Ben-Cohen wrote: > Make this go away: > > drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend': > drivers/mmc/host/omap_hsmmc.c:2328: warning: unused variable 'state' Was done a while ago. See 1a13f8fa76c880be41d6b1e6a2b44404bcbfdf9e in linus' tree. > > Signed-off-by: Ohad Ben-Cohen > --- > drivers/mmc/host/omap_hsmmc.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c > index b032828..d50e917 100644 > --- a/drivers/mmc/host/omap_hsmmc.c > +++ b/drivers/mmc/host/omap_hsmmc.c > @@ -2272,7 +2272,6 @@ static int omap_hsmmc_suspend(struct device *dev) > int ret = 0; > struct platform_device *pdev = to_platform_device(dev); > struct omap_hsmmc_host *host = platform_get_drvdata(pdev); > - pm_message_t state = PMSG_SUSPEND; /* unused by MMC core */ > > if (host && host->suspended) > return 0;