aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/card/block.c
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2012-11-26 19:30:22 -0800
committerColin Cross <ccross@android.com>2014-03-19 13:10:14 -0700
commit1eaf3d3d963ff6a1fecc987f3c727acd136411e8 (patch)
treeda494daa8c8c703295e5def638ef9bdb6133700a /drivers/mmc/card/block.c
parent4d3efc79e0d00debc60ab11bf731769187410122 (diff)
downloadlinux-linaro-stable-1eaf3d3d963ff6a1fecc987f3c727acd136411e8.tar.gz
mmc: block: Remove call to mmc_blk_set_blksize
It no longer exists. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'drivers/mmc/card/block.c')
-rw-r--r--drivers/mmc/card/block.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 499ab365600d..feb9bf5e4c17 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -1957,9 +1957,6 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *rqc)
return 0;
}
-static int
-mmc_blk_set_blksize(struct mmc_blk_data *md, struct mmc_card *card);
-
static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
{
int ret;
@@ -1970,10 +1967,8 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
unsigned int cmd_flags = req ? req->cmd_flags : 0;
#ifdef CONFIG_MMC_BLOCK_DEFERRED_RESUME
- if (mmc_bus_needs_resume(card->host)) {
+ if (mmc_bus_needs_resume(card->host))
mmc_resume_bus(card->host);
- mmc_blk_set_blksize(md, card);
- }
#endif
if (req && !mq->mqrq_prev->req)