* [PATCH] omap_hsmmc: Remove unused state variable
@ 2010-06-08 20:41 Sergio Aguirre
2010-06-08 21:57 ` Matt Fleming
2010-06-10 6:49 ` Tony Lindgren
0 siblings, 2 replies; 4+ messages in thread
From: Sergio Aguirre @ 2010-06-08 20:41 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap, Matt Fleming, Sergio Aguirre
This fixes the following warning:
drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend':
drivers/mmc/host/omap_hsmmc.c:2275: warning: unused variable 'state'
Introduced by commit ID:
commit 1a13f8fa76c880be41d6b1e6a2b44404bcbfdf9e
Author: Matt Fleming <matt@console-pimps.org>
Date: Wed May 26 14:42:08 2010 -0700
mmc: remove the "state" argument to mmc_suspend_host()
The unique usage of this var was removed there, and missed
removing the respective declaration aswell.
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
---
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;
--
1.6.3.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] omap_hsmmc: Remove unused state variable
2010-06-08 20:41 [PATCH] omap_hsmmc: Remove unused state variable Sergio Aguirre
@ 2010-06-08 21:57 ` Matt Fleming
2010-06-10 6:49 ` Tony Lindgren
1 sibling, 0 replies; 4+ messages in thread
From: Matt Fleming @ 2010-06-08 21:57 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap, Sergio Aguirre, linux-mmc
On Tue, 8 Jun 2010 15:41:40 -0500, Sergio Aguirre <saaguirre@ti.com> wrote:
> This fixes the following warning:
>
> drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend':
> drivers/mmc/host/omap_hsmmc.c:2275: warning: unused variable 'state'
>
> Introduced by commit ID:
>
> commit 1a13f8fa76c880be41d6b1e6a2b44404bcbfdf9e
> Author: Matt Fleming <matt@console-pimps.org>
> Date: Wed May 26 14:42:08 2010 -0700
>
> mmc: remove the "state" argument to mmc_suspend_host()
>
> The unique usage of this var was removed there, and missed
> removing the respective declaration aswell.
>
> Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
> ---
> 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;
> --
> 1.6.3.3
>
Oops. Thanks for catching that.
Acked-by: Matt Fleming <matt@console-pimps.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] omap_hsmmc: Remove unused state variable
2010-06-08 20:41 [PATCH] omap_hsmmc: Remove unused state variable Sergio Aguirre
2010-06-08 21:57 ` Matt Fleming
@ 2010-06-10 6:49 ` Tony Lindgren
2010-06-10 13:45 ` Aguirre, Sergio
1 sibling, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2010-06-10 6:49 UTC (permalink / raw)
To: Sergio Aguirre; +Cc: linux-omap, Matt Fleming
* Sergio Aguirre <saaguirre@ti.com> [100608 23:35]:
> This fixes the following warning:
>
> drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend':
> drivers/mmc/host/omap_hsmmc.c:2275: warning: unused variable 'state'
>
> Introduced by commit ID:
>
> commit 1a13f8fa76c880be41d6b1e6a2b44404bcbfdf9e
> Author: Matt Fleming <matt@console-pimps.org>
> Date: Wed May 26 14:42:08 2010 -0700
>
> mmc: remove the "state" argument to mmc_suspend_host()
>
> The unique usage of this var was removed there, and missed
> removing the respective declaration aswell.
This should be sent to linux-mmc list.
Tony
> Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
> ---
> 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;
> --
> 1.6.3.3
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] omap_hsmmc: Remove unused state variable
2010-06-10 6:49 ` Tony Lindgren
@ 2010-06-10 13:45 ` Aguirre, Sergio
0 siblings, 0 replies; 4+ messages in thread
From: Aguirre, Sergio @ 2010-06-10 13:45 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap@vger.kernel.org, Matt Fleming
> -----Original Message-----
> From: Tony Lindgren [mailto:tony@atomide.com]
> Sent: Thursday, June 10, 2010 1:49 AM
> To: Aguirre, Sergio
> Cc: linux-omap@vger.kernel.org; Matt Fleming
> Subject: Re: [PATCH] omap_hsmmc: Remove unused state variable
>
> * Sergio Aguirre <saaguirre@ti.com> [100608 23:35]:
> > This fixes the following warning:
> >
> > drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend':
> > drivers/mmc/host/omap_hsmmc.c:2275: warning: unused variable 'state'
> >
> > Introduced by commit ID:
> >
> > commit 1a13f8fa76c880be41d6b1e6a2b44404bcbfdf9e
> > Author: Matt Fleming <matt@console-pimps.org>
> > Date: Wed May 26 14:42:08 2010 -0700
> >
> > mmc: remove the "state" argument to mmc_suspend_host()
> >
> > The unique usage of this var was removed there, and missed
> > removing the respective declaration aswell.
>
> This should be sent to linux-mmc list.
Ok, No problem. I will do that now.
Thanks and Regards,
Sergio
>
> Tony
>
>
> > Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
> > ---
> > 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;
> > --
> > 1.6.3.3
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-10 13:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-08 20:41 [PATCH] omap_hsmmc: Remove unused state variable Sergio Aguirre
2010-06-08 21:57 ` Matt Fleming
2010-06-10 6:49 ` Tony Lindgren
2010-06-10 13:45 ` Aguirre, Sergio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox