All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: core: Remove unused macro mmc_req_rel_wr
@ 2023-04-03 22:17 Bean Huo
  2023-04-17 14:53 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Bean Huo @ 2023-04-03 22:17 UTC (permalink / raw)
  To: ulf.hansson, CLoehle; +Cc: linux-mmc, linux-kernel, Bean Huo

From: Bean Huo <beanhuo@micron.com>

There is no user for macro mmc_req_rel_wr, so delete it.

Signed-off-by: Bean Huo <beanhuo@micron.com>
---
 drivers/mmc/core/block.c | 2 --
 1 file changed, 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);
 
 /*
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: core: Remove unused macro mmc_req_rel_wr
  2023-04-03 22:17 [PATCH] mmc: core: Remove unused macro mmc_req_rel_wr Bean Huo
@ 2023-04-17 14:53 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2023-04-17 14:53 UTC (permalink / raw)
  To: Bean Huo; +Cc: CLoehle, linux-mmc, linux-kernel, Bean Huo

On Tue, 4 Apr 2023 at 00:18, Bean Huo <beanhuo@iokpp.de> wrote:
>
> From: Bean Huo <beanhuo@micron.com>
>
> There is no user for macro mmc_req_rel_wr, so delete it.
>
> Signed-off-by: Bean Huo <beanhuo@micron.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/core/block.c | 2 --
>  1 file changed, 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);
>
>  /*
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-17 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03 22:17 [PATCH] mmc: core: Remove unused macro mmc_req_rel_wr Bean Huo
2023-04-17 14:53 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.