From 96cbafb1d2902cfbf8a7776f258e97b4394d00fe Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 14 Oct 2024 16:32:02 -0600 Subject: expo: Drop scene_title_set() This function is really just an assignment, so serves no useful purpose. Drop it. Signed-off-by: Simon Glass --- test/boot/expo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/boot/expo.c b/test/boot/expo.c index 1c2e746decc..db14ff86f8b 100644 --- a/test/boot/expo.c +++ b/test/boot/expo.c @@ -151,7 +151,7 @@ static int expo_scene(struct unit_test_state *uts) scn = NULL; id = scene_new(exp, SCENE_NAME2, 0, &scn); ut_assertnonnull(scn); - ut_assertok(scene_title_set(scn, title_id)); + scn->title_id = title_id; ut_asserteq(STR_SCENE_TITLE + 1, id); ut_asserteq(STR_SCENE_TITLE + 2, exp->next_id); ut_asserteq_ptr(exp, scn->expo); -- cgit v1.2.3