]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: mbr: Drop a duplicate test
authorSimon Glass <sjg@chromium.org>
Sun, 1 Sep 2024 22:26:34 +0000 (16:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 18 Sep 2024 19:01:00 +0000 (13:01 -0600)
The test currently runs twice as it is declared twice. Unwind this.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/cmd/mbr.c

index 727996123816c3d3005e2db71960789fd443e092..b14137e589a214cf95226f969babc2c95c8d2c4a 100644 (file)
@@ -479,9 +479,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, UTF_SCAN_FDT | UTF_CONSOLE);