summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-11-13 11:59:43 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2022-11-21 02:18:39 +0100
commitbe5ea98983efe2a2c5156c3b43e35a076d5b640d (patch)
tree7bc154ed543abb551ffce147ff361defafdeabac /scripts
parentkconfig: remove const qualifier from str_get() (diff)
downloadlinux-be5ea98983efe2a2c5156c3b43e35a076d5b640d.tar.xz
linux-be5ea98983efe2a2c5156c3b43e35a076d5b640d.zip
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 <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/mconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index d7f7e1bf7dd4..9c549683c627 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -441,8 +441,7 @@ again:
res = get_relations_str(sym_arr, &head);
set_subtitle();
dres = show_textbox_ext("Search Results", str_get(&res), 0, 0,
- keys, &vscroll,
- &hscroll, &update_text, (void *)
+ keys, &vscroll, &hscroll, &update_text,
&data);
again = false;
for (i = 0; i < JUMP_NB && keys[i]; i++)