summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-07 17:34:58 -0700
committerTom Rini <trini@konsulko.com>2021-03-12 09:57:30 -0500
commitc79705ea938e40e204ad90e083a0654f0598a772 (patch)
treee7c298bc4b55ab913fd63468d6892dd184e3f2b9 /include/test
parent4a467c6de6765a9685d1e3ced95ce141a14dfcf3 (diff)
downloadu-boot-c79705ea938e40e204ad90e083a0654f0598a772.tar.gz
u-boot-c79705ea938e40e204ad90e083a0654f0598a772.tar.bz2
u-boot-c79705ea938e40e204ad90e083a0654f0598a772.zip
test: Move dm_test_init() into test-main.c
Move this function into test-main so that all the init is in one place. Rename it so that its purpose is clearer. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/ut.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/test/ut.h b/include/test/ut.h
index 6e56ca99c3..4e0aba9f70 100644
--- a/include/test/ut.h
+++ b/include/test/ut.h
@@ -387,15 +387,6 @@ int test_pre_run(struct unit_test_state *uts, struct unit_test *test);
*/
int test_post_run(struct unit_test_state *uts, struct unit_test *test);
-/**
- * dm_test_init() - Get ready to run a driver model test
- *
- * This clears out the driver model data structures. For sandbox it resets the
- * state structure.
- *
- * @uts: Test state
- */
-int dm_test_init(struct unit_test_state *uts);
/**
* ut_run_tests() - Run a set of tests