projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kconfig: remove the rootmenu check in menu_add_prop()
[carl9170fw.git]
/
config
/
menu.c
diff --git
a/config/menu.c
b/config/menu.c
index d9d16469859ab9e008686007b93a78acb23cf6e9..b1b1ee8cf98704253402b5b89f12abde87612b83 100644
(file)
--- a/
config/menu.c
+++ b/
config/menu.c
@@
-138,7
+138,7
@@
static struct property *menu_add_prop(enum prop_type type, char *prompt, struct
while (isspace(*prompt))
prompt++;
}
- if (current_entry->prompt
&& current_entry != &rootmenu
)
+ if (current_entry->prompt)
prop_warn(prop, "prompt redefined");
/* Apply all upper menus' visibilities to actual prompts. */