summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-17 20:47:18 +0300
committerTom Rini <trini@konsulko.com>2023-01-24 02:11:39 +0300
commit3f23ce2b6c58a489b3377e1fc1449ca293892546 (patch)
tree191ea506b5cf63e35f6712a13c74ae75f4bd59dd /test
parentf229a8ee7e9c1b050b292cc33eea3c25c0723ba7 (diff)
downloadu-boot-3f23ce2b6c58a489b3377e1fc1449ca293892546.tar.xz
test: Drop duplicate restore of DM state
This code is present twice. Fix it so that it is only executed once. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/test-main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/test-main.c b/test/test-main.c
index 5931e94a91..9ab090b7b3 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;
}