summaryrefslogtreecommitdiff
path: root/test/boot/expo.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-14 16:32:02 -0600
committerSimon Glass <sjg@chromium.org>2024-10-18 14:10:22 -0600
commit96cbafb1d2902cfbf8a7776f258e97b4394d00fe (patch)
tree86b8382032e3bde7a96b27ec1d6f4052e89c0541 /test/boot/expo.c
parentfde707501f614ad57dbbbc6269f1b99b86875c39 (diff)
expo: Drop scene_title_set()
This function is really just an assignment, so serves no useful purpose. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/boot/expo.c')
-rw-r--r--test/boot/expo.c2
1 files changed, 1 insertions, 1 deletions
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);