aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2024-03-07 19:50:13 +0500
committerUlf Hansson <[email protected]>2024-04-02 12:21:39 +0200
commit0cbff48946cc6794aef6ed7beb7801015680cc45 (patch)
tree5d7eb534f635541b8da03385b6b57727cdc056ac
parentbe44c37238f4be46f3ca9540e93ac793fe06e99d (diff)
mmc: dw_mmc-hi3798cv200: 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r--drivers/mmc/host/dw_mmc-hi3798cv200.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc-hi3798cv200.c b/drivers/mmc/host/dw_mmc-hi3798cv200.c
index 61923a518369..6099756e59b3 100644
--- a/drivers/mmc/host/dw_mmc-hi3798cv200.c
+++ b/drivers/mmc/host/dw_mmc-hi3798cv200.c
@@ -87,7 +87,6 @@ static int dw_mci_hi3798cv200_execute_tuning(struct dw_mci_slot *slot,
goto tuning_out;
prev_err = err;
- err = 0;
}
tuning_out: