aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorChanWoo Lee <[email protected]>2021-02-03 07:20:14 +0000
committerUlf Hansson <[email protected]>2021-02-08 11:56:52 +0000
commit1791557ffbafd280c6e566f7f9a70353a470841a (patch)
treec849716ddc4a2e107a217ad496b26b31f728bfea /drivers/mmc/core/queue.c
parentmmc: core: Drop redundant bouncesz from struct mmc_card (diff)
downloadkernel-1791557ffbafd280c6e566f7f9a70353a470841a.tar.gz
kernel-1791557ffbafd280c6e566f7f9a70353a470841a.zip
mmc: queue: Remove unused define
MMC_CQE_QUEUE_FULL is not set and is only cleared. Therefore, define is unnecessary. Signed-off-by: ChanWoo Lee <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
-rw-r--r--drivers/mmc/core/queue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c
index 8a774b7197d9..27d2b8ed9484 100644
--- a/drivers/mmc/core/queue.c
+++ b/drivers/mmc/core/queue.c
@@ -33,8 +33,6 @@ void mmc_cqe_check_busy(struct mmc_queue *mq)
{
if ((mq->cqe_busy & MMC_CQE_DCMD_BUSY) && !mmc_cqe_dcmd_busy(mq))
mq->cqe_busy &= ~MMC_CQE_DCMD_BUSY;
-
- mq->cqe_busy &= ~MMC_CQE_QUEUE_FULL;
}
static inline bool mmc_cqe_can_dcmd(struct mmc_host *host)