Skip to content

Commit f695c5f

Browse files
beanhuoUlf Hansson
authored andcommitted
mmc: core: Remove unused macro mmc_req_rel_wr
There is no user for macro mmc_req_rel_wr, so delete it. Signed-off-by: Bean Huo <beanhuo@micron.com> Link: https://lore.kernel.org/r/20230403221754.16168-1-beanhuo@iokpp.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 9fab938 commit f695c5f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/mmc/core/block.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ MODULE_ALIAS("mmc:block");
7676
#define MMC_EXTRACT_INDEX_FROM_ARG(x) ((x & 0x00FF0000) >> 16)
7777
#define MMC_EXTRACT_VALUE_FROM_ARG(x) ((x & 0x0000FF00) >> 8)
7878

79-
#define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \
80-
(rq_data_dir(req) == WRITE))
8179
static DEFINE_MUTEX(block_mutex);
8280

8381
/*

0 commit comments

Comments
 (0)