projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60c2a3
)
mmc: core: remove build warning caused by sprd bsp
74/164974/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 22 Dec 2017 06:37:02 +0000
(15:37 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 22 Dec 2017 06:37:05 +0000
(15:37 +0900)
During sprd bsp, not used function is added and it causes unused
function build warning. Remove the build warning by removing the
function.
Change-Id: Id3cea904edca1c41413c28f0c831617b5385af25
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/mmc/core/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/mmc.c
b/drivers/mmc/core/mmc.c
index
da5f279
..
9e08973
100644
(file)
--- a/
drivers/mmc/core/mmc.c
+++ b/
drivers/mmc/core/mmc.c
@@
-1494,10
+1494,6
@@
static void mmc_detect(struct mmc_host *host)
}
static int mmc_sleep(struct mmc_host *host);
-static int mmc_can_sleep(struct mmc_card *card)
-{
- return (card && card->ext_csd.rev >= 3);
-}
static int _mmc_suspend(struct mmc_host *host, bool is_suspend)
{