Commit 96490176 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: remove P_SYMBOL property

P_SYMBOL is a pseudo property that was previously used for data linking
purposes.

It is no longer used except for debug prints. Remove it.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 5e6cc7e3
...@@ -168,7 +168,6 @@ enum prop_type { ...@@ -168,7 +168,6 @@ enum prop_type {
P_SELECT, /* select BAR */ P_SELECT, /* select BAR */
P_IMPLY, /* imply BAR */ P_IMPLY, /* imply BAR */
P_RANGE, /* range 7..100 (for a symbol) */ P_RANGE, /* range 7..100 (for a symbol) */
P_SYMBOL, /* where a symbol is defined */
}; };
struct property { struct property {
......
...@@ -707,10 +707,6 @@ static void print_symbol(FILE *out, const struct menu *menu) ...@@ -707,10 +707,6 @@ static void print_symbol(FILE *out, const struct menu *menu)
print_quoted_string(out, prop->text); print_quoted_string(out, prop->text);
fputc('\n', out); fputc('\n', out);
break; break;
case P_SYMBOL:
fputs( " symbol ", out);
fprintf(out, "%s\n", prop->menu->sym->name);
break;
default: default:
fprintf(out, " unknown prop %d!\n", prop->type); fprintf(out, " unknown prop %d!\n", prop->type);
break; break;
......
...@@ -1094,7 +1094,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym) ...@@ -1094,7 +1094,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym)
case P_RANGE: case P_RANGE:
case P_COMMENT: case P_COMMENT:
case P_IMPLY: case P_IMPLY:
case P_SYMBOL:
stream << prop_get_type_name(prop->type); stream << prop_get_type_name(prop->type);
stream << ": "; stream << ": ";
expr_print(prop->expr, expr_print_help, expr_print(prop->expr, expr_print_help,
......
...@@ -1321,8 +1321,6 @@ const char *prop_get_type_name(enum prop_type type) ...@@ -1321,8 +1321,6 @@ const char *prop_get_type_name(enum prop_type type)
return "imply"; return "imply";
case P_RANGE: case P_RANGE:
return "range"; return "range";
case P_SYMBOL:
return "symbol";
case P_UNKNOWN: case P_UNKNOWN:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment