[PATCH 08/71] test: Drop duplicate restore of DM state
Simon Glass
sjg at chromium.org
Wed Dec 7 09:50:34 CET 2022
This code is present twice. Fix it so that it is only executed once.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
test/test-main.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/test/test-main.c b/test/test-main.c
index 5931e94a915..9ab090b7b33 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -635,9 +635,5 @@ int ut_run_list(const char *category, const char *prefix,
else
printf("Failures: %d\n", uts.fail_count);
- /* Best efforts only...ignore errors */
- if (has_dm_tests)
- dm_test_restore(uts.of_root);
-
return ret;
}
--
2.39.0.rc0.267.gcb52ba06e7-goog
More information about the U-Boot-Custodians
mailing list