mmc: core: remove build warning caused by sprd bsp 74/164974/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 22 Dec 2017 06:37:02 +0000 (15:37 +0900)
committerSeung-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

index da5f279..9e08973 100644 (file)
@@ -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)
 {