mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user