summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-09-20 10:02:01 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-10-30 11:40:10 +0100
commit14f4ca7e4d2825f9f71e22905ae177b899959f1d (patch)
tree1d88ed2c7ad300f606e6ccf17de9ed270295aeac /drivers/mmc/core/queue.c
parent97548575bef38abd06690a5a6f6816200c7e77f7 (diff)
downloadop-kernel-dev-14f4ca7e4d2825f9f71e22905ae177b899959f1d.zip
op-kernel-dev-14f4ca7e4d2825f9f71e22905ae177b899959f1d.tar.gz
mmc: block: Delete mmc_access_rpmb()
This function is used by the block layer queue to bail out of requests if the current request is towards an RPMB "block device". This was done to avoid boot time scanning of this "block device" which was never really a block device, thus duct-taping over the fact that it was badly engineered. This problem is now gone as we removed the offending RPMB block device in another patch and replaced it with a character device. Cc: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/queue.c')
-rw-r--r--drivers/mmc/core/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c
index 0a4e77a..f74f9ef 100644
--- a/drivers/mmc/core/queue.c
+++ b/drivers/mmc/core/queue.c
@@ -30,7 +30,7 @@ static int mmc_prep_request(struct request_queue *q, struct request *req)
{
struct mmc_queue *mq = q->queuedata;
- if (mq && (mmc_card_removed(mq->card) || mmc_access_rpmb(mq)))
+ if (mq && mmc_card_removed(mq->card))
return BLKPREP_KILL;
req->rq_flags |= RQF_DONTPREP;
OpenPOWER on IntegriCloud