OSDN Git Service

mmc: block: Delete mmc_access_rpmb()
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Sep 2017 08:02:01 +0000 (10:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:40:10 +0000 (11:40 +0100)
commit14f4ca7e4d2825f9f71e22905ae177b899959f1d
tree1d88ed2c7ad300f606e6ccf17de9ed270295aeac
parent97548575bef38abd06690a5a6f6816200c7e77f7
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>
drivers/mmc/core/block.c
drivers/mmc/core/queue.c
drivers/mmc/core/queue.h