diff mbox series

mmc: cv1800b_sdhci: Remove the unused argument

Message ID 20240415075650.22442-1-jh80.chung@samsung.com
State Accepted
Commit 3657ef738ad6aa2c32c569e7ae67a5557343f7d0
Delegated to: Jaehoon Chung
Headers show
Series mmc: cv1800b_sdhci: Remove the unused argument | expand

Commit Message

Jaehoon Chung April 15, 2024, 7:56 a.m. UTC
Remove the unused argument about cmd_error.

Fixes: a3b2786651c7 ("mmc: Drop unused mmc_send_tuning() cmd_error parameter")

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
1
---
 drivers/mmc/cv1800b_sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jaehoon Chung April 15, 2024, 8:01 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Jaehoon Chung <jh80.chung@samsung.com>
> Sent: Monday, April 15, 2024 4:57 PM
> To: u-boot@lists.denx.de
> Cc: trini@konsulko.com; ycliang@andestech.com; Jaehoon Chung <jh80.chung@samsung.com>
> Subject: [PATCH] mmc: cv1800b_sdhci: Remove the unused argument
> 
> Remove the unused argument about cmd_error.
> 
> Fixes: a3b2786651c7 ("mmc: Drop unused mmc_send_tuning() cmd_error parameter")
> 
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>

This patch is based on u-boot-mmc/master.

Best Regards,
Jaehoon Chung

> 
> ---
>  drivers/mmc/cv1800b_sdhci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/cv1800b_sdhci.c b/drivers/mmc/cv1800b_sdhci.c
> index 2275c5377723..9af6b9719844 100644
> --- a/drivers/mmc/cv1800b_sdhci.c
> +++ b/drivers/mmc/cv1800b_sdhci.c
> @@ -42,7 +42,7 @@ static int cv1800b_execute_tuning(struct mmc *mmc, u8 opcode)
>  	for (tap = 0; tap < TUNE_MAX_PHCODE; tap++) {
>  		cv1800b_set_tap_delay(host, tap);
> 
> -		if (mmc_send_tuning(host->mmc, opcode, NULL)) {
> +		if (mmc_send_tuning(host->mmc, opcode)) {
>  			current_size = 0;
>  		} else {
>  			current_size++;
> --
> 2.25.1
diff mbox series

Patch

diff --git a/drivers/mmc/cv1800b_sdhci.c b/drivers/mmc/cv1800b_sdhci.c
index 2275c5377723..9af6b9719844 100644
--- a/drivers/mmc/cv1800b_sdhci.c
+++ b/drivers/mmc/cv1800b_sdhci.c
@@ -42,7 +42,7 @@  static int cv1800b_execute_tuning(struct mmc *mmc, u8 opcode)
 	for (tap = 0; tap < TUNE_MAX_PHCODE; tap++) {
 		cv1800b_set_tap_delay(host, tap);
 
-		if (mmc_send_tuning(host->mmc, opcode, NULL)) {
+		if (mmc_send_tuning(host->mmc, opcode)) {
 			current_size = 0;
 		} else {
 			current_size++;