OSDN Git Service

mmc: core: Remove mq->use_cqe from the struct mmc_queue
authorLuca Porzio <porzio@gmail.com>
Mon, 15 Feb 2021 00:32:18 +0000 (01:32 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:42:02 +0000 (11:42 +0200)
commit407a1c570f9248886be21a396c0ea7f7f5e7b3cc
tree00927fa964f5b60332acb0a2f70836dcbae106c9
parent6f1d3247662acef35ef6882528028b4b470baab4
mmc: core: Remove mq->use_cqe from the struct mmc_queue

The host->cqe_enabled is already containing the needed information about
whether the CQE is enabled or not, hence there is no need to keep another
copy of it around.

Signed-off-by: Luca Porzio <lporzio@micron.com>
Signed-off-by: Zhan Liu <zliua@micron.com>
Link: https://lore.kernel.org/r/20210215003217.GA12240@lupo-laptop
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/queue.c
drivers/mmc/core/queue.h