projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c2c0d
)
omap_hsmmc: remove unused local `state'
author
Sergio Aguirre
<
[email protected]
>
Thu, 9 Sep 2010 23:37:46 +0000
(16:37 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 10 Sep 2010 01:57:23 +0000
(18:57 -0700)
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 <
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Chris Ball <
[email protected]
>
Acked-by: Matt Fleming <
[email protected]
>
Cc: Madhusudhan Chikkature <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/mmc/host/omap_hsmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/omap_hsmmc.c
b/drivers/mmc/host/omap_hsmmc.c
index 4a8776f8afdd690048c69de91e755d35d2c884a5..fb6446a6fb4d2caede2894dcafc2920d1be9e65d 100644
(file)
--- a/
drivers/mmc/host/omap_hsmmc.c
+++ b/
drivers/mmc/host/omap_hsmmc.c
@@
-2305,7
+2305,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;