diff options
| author | Simon Glass <[email protected]> | 2023-01-17 10:47:18 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-23 18:11:39 -0500 |
| commit | 3f23ce2b6c58a489b3377e1fc1449ca293892546 (patch) | |
| tree | 191ea506b5cf63e35f6712a13c74ae75f4bd59dd /test | |
| parent | f229a8ee7e9c1b050b292cc33eea3c25c0723ba7 (diff) | |
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 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/test-main.c | 4 |
1 files changed, 0 insertions, 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; } |
