From: Muhammad Usama Anjum Date: Thu, 7 Mar 2024 12:21:29 +0000 (+0500) Subject: mmc: dw_mmc-hi3798mv200: Remove unneeded assignment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be44c37238f4be46f3ca9540e93ac793fe06e99d;p=linux.git mmc: dw_mmc-hi3798mv200: Remove unneeded assignment 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 Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20240307122129.2359553-1-usama.anjum@collabora.com Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/dw_mmc-hi3798mv200.c b/drivers/mmc/host/dw_mmc-hi3798mv200.c index 989ae8dda7228..96af693e3e37c 100644 --- a/drivers/mmc/host/dw_mmc-hi3798mv200.c +++ b/drivers/mmc/host/dw_mmc-hi3798mv200.c @@ -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: