diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-12 11:48:38 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-23 21:30:30 +0200 |
commit | 03764b30a4f0185a97515d616e60e2e00c558583 (patch) | |
tree | df78b4d2ab7819c3d644a974ee3b50610f691236 /scripts/kconfig/menu.c | |
parent | scripts/clang-tools: remove unused module (diff) | |
download | linux-03764b30a4f0185a97515d616e60e2e00c558583.tar.xz linux-03764b30a4f0185a97515d616e60e2e00c558583.zip |
Kconfig: remove unused function 'menu_get_root_menu'
There is nowhere calling `menu_get_root_menu` function,
so remove it.
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | scripts/kconfig/menu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 3d6f7cba8846..62b6313f51c8 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c @@ -661,11 +661,6 @@ const char *menu_get_prompt(struct menu *menu) return NULL; } -struct menu *menu_get_root_menu(struct menu *menu) -{ - return &rootmenu; -} - struct menu *menu_get_parent_menu(struct menu *menu) { enum prop_type type; |