Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Masahiro Yamada <masahiroy@kernel.org>

-8
-1
scripts/kconfig/expr.h
··· 168 168 P_SELECT, /* select BAR */ 169 169 P_IMPLY, /* imply BAR */ 170 170 P_RANGE, /* range 7..100 (for a symbol) */ 171 - P_SYMBOL, /* where a symbol is defined */ 172 171 }; 173 172 174 173 struct property {
-4
scripts/kconfig/parser.y
··· 707 707 print_quoted_string(out, prop->text); 708 708 fputc('\n', out); 709 709 break; 710 - case P_SYMBOL: 711 - fputs( " symbol ", out); 712 - fprintf(out, "%s\n", prop->menu->sym->name); 713 - break; 714 710 default: 715 711 fprintf(out, " unknown prop %d!\n", prop->type); 716 712 break;
-1
scripts/kconfig/qconf.cc
··· 1094 1094 case P_RANGE: 1095 1095 case P_COMMENT: 1096 1096 case P_IMPLY: 1097 - case P_SYMBOL: 1098 1097 stream << prop_get_type_name(prop->type); 1099 1098 stream << ": "; 1100 1099 expr_print(prop->expr, expr_print_help,
-2
scripts/kconfig/symbol.c
··· 1321 1321 return "imply"; 1322 1322 case P_RANGE: 1323 1323 return "range"; 1324 - case P_SYMBOL: 1325 - return "symbol"; 1326 1324 case P_UNKNOWN: 1327 1325 break; 1328 1326 }