Skip to content

Commit be5ea98

Browse files
committed
kconfig: remove redundant (void *) cast in search_conf()
The (void *) cast is redundant because the last argument of show_textbox_ext() is an opaque pointer. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 4d980fd commit be5ea98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/kconfig/mconf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,7 @@ static void search_conf(void)
441441
res = get_relations_str(sym_arr, &head);
442442
set_subtitle();
443443
dres = show_textbox_ext("Search Results", str_get(&res), 0, 0,
444-
keys, &vscroll,
445-
&hscroll, &update_text, (void *)
444+
keys, &vscroll, &hscroll, &update_text,
446445
&data);
447446
again = false;
448447
for (i = 0; i < JUMP_NB && keys[i]; i++)

0 commit comments

Comments
 (0)