summaryrefslogtreecommitdiff
path: root/test/test-main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-07 17:34:53 -0700
committerTom Rini <trini@konsulko.com>2021-03-12 09:57:30 -0500
commit19fb3dba8e2a80d32d1a6c916922a4281d792780 (patch)
tree982065eb7f410744a97f8979ce618d4d071fccea /test/test-main.c
parent5a986f3feef7ce7f14282f0c6ed2f6c63647a821 (diff)
downloadu-boot-19fb3dba8e2a80d32d1a6c916922a4281d792780.tar.gz
u-boot-19fb3dba8e2a80d32d1a6c916922a4281d792780.tar.bz2
u-boot-19fb3dba8e2a80d32d1a6c916922a4281d792780.zip
test: Drop mallinfo() work-around
This is not needed now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/test-main.c')
-rw-r--r--test/test-main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test-main.c b/test/test-main.c
index fe96d739dc..db0d82e36c 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -30,9 +30,7 @@ static int do_autoprobe(struct unit_test_state *uts)
int test_pre_run(struct unit_test_state *uts, struct unit_test *test)
{
- /* DM tests have already done this */
- if (!(test->flags & UT_TESTF_DM))
- uts->start = mallinfo();
+ uts->start = mallinfo();
if (test->flags & UT_TESTF_SCAN_PDATA)
ut_assertok(dm_scan_plat(false));