Skip to content

Commit f5e1638

Browse files
Vladimir Zapolskiystorulf
authored andcommitted
mmc: core: remove left-over data structure declarations
The last users of 'enum mmc_blk_status' and 'struct mmc_async_req' were removed by commit 126b627 ("mmc: core: Remove code no longer needed after the switch to blk-mq") in 2017, remove these two left-over data structures. Signed-off-by: Vladimir Zapolskiy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent d3596c7 commit f5e1638

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

include/linux/mmc/core.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@
1111
struct mmc_data;
1212
struct mmc_request;
1313

14-
enum mmc_blk_status {
15-
MMC_BLK_SUCCESS = 0,
16-
MMC_BLK_PARTIAL,
17-
MMC_BLK_CMD_ERR,
18-
MMC_BLK_RETRY,
19-
MMC_BLK_ABORT,
20-
MMC_BLK_DATA_ERR,
21-
MMC_BLK_ECC_ERR,
22-
MMC_BLK_NOMEDIUM,
23-
MMC_BLK_NEW_REQUEST,
24-
};
25-
2614
struct mmc_command {
2715
u32 opcode;
2816
u32 arg;

include/linux/mmc/host.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,6 @@ struct mmc_cqe_ops {
264264
void (*cqe_recovery_finish)(struct mmc_host *host);
265265
};
266266

267-
struct mmc_async_req {
268-
/* active mmc request */
269-
struct mmc_request *mrq;
270-
/*
271-
* Check error status of completed mmc request.
272-
* Returns 0 if success otherwise non zero.
273-
*/
274-
enum mmc_blk_status (*err_check)(struct mmc_card *, struct mmc_async_req *);
275-
};
276-
277267
/**
278268
* struct mmc_slot - MMC slot functions
279269
*

0 commit comments

Comments
 (0)