Commit:     ed8b4d4d7a31923db32f4684535944d69eb43677
Parent:     1f85712e6e1f2450ec4fd2ab18f8887bf7280f8e
Author:     Cyrill V. Gorcunov <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 14 00:33:03 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 14 08:09:52 2007 -0800

    [PATCH] qconf: hide empty list items
    This patch fixes showing empty config list items if "Option/Show All
    Options" is turned on.  For example empty items appears on list of 'Block
    Layer' menu.
    Signed-off-by: Cyrill V. Gorcunov <[EMAIL PROTECTED]>
    Cc: Roman Zippel <[EMAIL PROTECTED]>
    Cc: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Oleg Verych <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 scripts/kconfig/ |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/kconfig/ b/scripts/kconfig/
index 0981d2a..512c2f5 100644
--- a/scripts/kconfig/
+++ b/scripts/kconfig/
@@ -606,6 +606,8 @@ void ConfigList::updateMenuList(P* parent, struct menu* 
                visible = menu_is_visible(child);
                if (showAll || visible) {
+                       if (!child->sym && !child->list && !child->prompt)
+                               continue;
                        if (!item || item->menu != child)
                                item = new ConfigItem(parent, last, child, 
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to