]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: dw_mmc: Remove SDMMC_INT_ERROR
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 6 Jan 2026 02:16:54 +0000 (10:16 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:06:54 +0000 (12:06 +0100)
SDMMC_INT_ERROR is defined as 0xbfc2, which looks like a magic number and
it's never used, so remove it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.h

index bf3566ac40d970f25a10c5a27a1f5029086cb26d..0ff301cda4dcd8a5116b803c2b599659e71270a2 100644 (file)
@@ -399,7 +399,6 @@ struct dw_mci_board {
 #define SDMMC_INT_CMD_DONE             BIT(2)
 #define SDMMC_INT_RESP_ERR             BIT(1)
 #define SDMMC_INT_CD                   BIT(0)
-#define SDMMC_INT_ERROR                        0xbfc2
 /* Command register defines */
 #define SDMMC_CMD_START                        BIT(31)
 #define SDMMC_CMD_USE_HOLD_REG BIT(29)