diff options
author | Bean Huo <beanhuo@micron.com> | 2023-04-04 01:17:54 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-04-17 10:47:25 +0300 |
commit | f695c5f952f28bf4ba74a7862ae20bae27568770 (patch) | |
tree | 7048d0a9df5e7483045349d22ebd040819d14ee3 | |
parent | 9fab93895fb6f4309b2e0a2e03a87da7d4dad643 (diff) | |
download | linux-f695c5f952f28bf4ba74a7862ae20bae27568770.tar.xz |
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>
-rw-r--r-- | drivers/mmc/core/block.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index 672ab90c4b2d..00c33edb9fb9 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -76,8 +76,6 @@ MODULE_ALIAS("mmc:block"); #define MMC_EXTRACT_INDEX_FROM_ARG(x) ((x & 0x00FF0000) >> 16) #define MMC_EXTRACT_VALUE_FROM_ARG(x) ((x & 0x0000FF00) >> 8) -#define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \ - (rq_data_dir(req) == WRITE)) static DEFINE_MUTEX(block_mutex); /* |