[PATCH v3 24/40] test: mbr: Drop a duplicate test

Simon Glass sjg at chromium.org
Sun Aug 11 16:51:53 CEST 2024


The test currently runs twice as it is declared twice. Unwind this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 test/cmd/mbr.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/test/cmd/mbr.c b/test/cmd/mbr.c
index ec19cf3793c..2beaf9a75c5 100644
--- a/test/cmd/mbr.c
+++ b/test/cmd/mbr.c
@@ -484,10 +484,3 @@ int do_ut_mbr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 
 	return cmd_ut_category("mbr", "mbr_test_", tests, n_ents, argc, argv);
 }
-
-static int dm_test_cmd_mbr(struct unit_test_state *uts)
-{
-	return mbr_test_run(uts);
-}
-
-DM_TEST(dm_test_cmd_mbr, UT_TESTF_SCAN_FDT | UT_TESTF_CONSOLE_REC);
-- 
2.34.1



More information about the U-Boot mailing list