projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d980fd
)
kconfig: remove redundant (void *) cast in search_conf()
author
Masahiro Yamada
<masahiroy@kernel.org>
Sun, 13 Nov 2022 10:59:43 +0000
(19:59 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Mon, 21 Nov 2022 01:18:39 +0000
(10:18 +0900)
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>
scripts/kconfig/mconf.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/mconf.c
b/scripts/kconfig/mconf.c
index d7f7e1bf7dd4f2d7c583f76760626bfbe4696336..9c549683c62751959201c36954cbbb6eaddd706f 100644
(file)
--- 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++)