summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-08-21 15:24:06 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2024-08-26 13:20:10 +0200
commitd3596c73011d1b0e9b43ae12f1e0f491d6bb96eb (patch)
tree6bbf2e75366eebba11c063dd24f96a4cbd5d2b3c
parentf0c8431568eedee7705c92f5c341bdc4567e3ad5 (diff)
downloadlinux-d3596c73011d1b0e9b43ae12f1e0f491d6bb96eb.tar.gz
linux-d3596c73011d1b0e9b43ae12f1e0f491d6bb96eb.tar.bz2
linux-d3596c73011d1b0e9b43ae12f1e0f491d6bb96eb.zip
mmc: core: Remove struct mmc_context_info
The 'mmc_context_info' structure is unused. It has been introduced in: - commit 2220eedfd7ae ("mmc: fix async request mechanism for sequential read scenarios") in 2013-02 and its usages have been removed in: - commit 126b62700386 ("mmc: core: Remove code no longer needed after the switch to blk-mq") - commit 0fbfd1251830 ("mmc: block: Remove code no longer needed after the switch to blk-mq") in 2017-12. Now remove this unused structure. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Vladimir Zapolskiy <vz@mleia.com> Link: https://lore.kernel.org/r/232106a8a6a374dee25feea9b94498361568c10b.1724246389.git.christophe.jaillet@wanadoo.fr Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--include/linux/mmc/host.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 88c6a76042ee..f85df7d045ca 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -291,20 +291,6 @@ struct mmc_slot {
void *handler_priv;
};
-/**
- * mmc_context_info - synchronization details for mmc context
- * @is_done_rcv wake up reason was done request
- * @is_new_req wake up reason was new request
- * @is_waiting_last_req mmc context waiting for single running request
- * @wait wait queue
- */
-struct mmc_context_info {
- bool is_done_rcv;
- bool is_new_req;
- bool is_waiting_last_req;
- wait_queue_head_t wait;
-};
-
struct regulator;
struct mmc_pwrseq;