mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
test: Drop mallinfo() work-around
This is not needed now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5a986f3fee
commit
19fb3dba8e
2 changed files with 1 additions and 5 deletions
|
@ -73,8 +73,6 @@ static int dm_do_test(struct unit_test_state *uts, struct unit_test *test,
|
|||
!of_live ? " (flat tree)" : "");
|
||||
ut_assertok(dm_test_init(uts, of_live));
|
||||
|
||||
uts->start = mallinfo();
|
||||
|
||||
ut_assertok(test_pre_run(uts, test));
|
||||
|
||||
if (!state->show_test_output)
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue