aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRasmus Villemoes2024-05-27 22:04:17 +0200
committerSimon Glass2024-07-03 07:36:33 +0100
commita8729a260b53b9a2fce2607ac90744a47f96daef (patch)
tree3a74b8a21112197b410dddb6fd36a8c03d503917 /test
parentd243b369e95139f77d04007755a4af42a0a03b30 (diff)
global_data.h: drop write-only field dm_root_f
The dm_root_f field seems to be entirely write-only and hence redundant, unless 'git grep' fails to find some access generated via preprocessor token concatenation or similar. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/dm/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/dm/core.c b/test/dm/core.c
index 4741c81bcc1..dbad1b317db 100644
--- a/test/dm/core.c
+++ b/test/dm/core.c
@@ -1006,7 +1006,6 @@ static int dm_test_uclass_before_ready(struct unit_test_state *uts)
ut_assertok(uclass_get(UCLASS_TEST, &uc));
gd->dm_root = NULL;
- gd->dm_root_f = NULL;
memset(&gd->uclass_root, '\0', sizeof(gd->uclass_root));
ut_asserteq_ptr(NULL, uclass_find(UCLASS_TEST));