summaryrefslogtreecommitdiff
path: root/test/dm/eth.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-22 07:57:49 -0600
committerTom Rini <trini@konsulko.com>2024-08-26 18:51:49 -0600
commitb073d48e8dd7d178ebd237089be730d15c72ddfc (patch)
treeabc9d5842979f4c495528da9cf08ca2f26ee8554 /test/dm/eth.c
parent725c438c6271f1870636f61a68d6904dc27a1357 (diff)
test: Drop the blank line before test macros
Most tests don't have this. It helps to keep the test declaration clearly associated with the function it relates to, rather than the next one in the file. Remove the extra blank line and mention this in the docs. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/eth.c')
-rw-r--r--test/dm/eth.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/dm/eth.c b/test/dm/eth.c
index 8479ebd3f21..467495863e1 100644
--- a/test/dm/eth.c
+++ b/test/dm/eth.c
@@ -528,7 +528,6 @@ static int dm_test_eth_async_arp_reply(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_eth_async_arp_reply, UTF_SCAN_FDT);
static int sb_check_ping_reply(struct udevice *dev, void *packet,
@@ -613,7 +612,6 @@ static int dm_test_eth_async_ping_reply(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_eth_async_ping_reply, UTF_SCAN_FDT);
#if IS_ENABLED(CONFIG_IPV6_ROUTER_DISCOVERY)
@@ -659,7 +657,6 @@ static int dm_test_validate_ra(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_validate_ra, 0);
static int dm_test_process_ra(struct unit_test_state *uts)
@@ -698,7 +695,6 @@ static int dm_test_process_ra(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_process_ra, 0);
#endif