mmc: dw_mmc-hi3798mv200: Remove unneeded assignment
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 7 Mar 2024 12:21:29 +0000 (17:21 +0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 2 Apr 2024 10:21:39 +0000 (12:21 +0200)
The err is being set to 0 and replaced every time after this
assignment. Remove this assignment as it is extraneous.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240307122129.2359553-1-usama.anjum@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-hi3798mv200.c

index 989ae8dda7228920793715e142655b398b9d2edd..96af693e3e37ce64e8a4dc443306f5717beceda7 100644 (file)
@@ -133,7 +133,6 @@ static int dw_mci_hi3798mv200_execute_tuning_mix_mode(struct dw_mci_slot *slot,
                        goto tuning_out;
 
                prev_err = err;
-               err = 0;
        }
 
 tuning_out: