kconfig: remove the rootmenu check in menu_add_prop()
[carl9170fw.git] / config / menu.c
index d9d16469859ab9e008686007b93a78acb23cf6e9..b1b1ee8cf98704253402b5b89f12abde87612b83 100644 (file)
@@ -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. */