History

kconfig: delete unused FILE_ and SYMBOL_ flags

The *_PRINTED flags were never used - so delete them. Do we need them later then we can re-add them.

Sam Ravnborg committed 18 years ago

Commit de83cf11 parent d6ee3572 files · +0 −4Browse files

Unified · Split

2 files
  1. scripts/kconfig/expr.h +0 −2
  2. scripts/kconfig/gconf.c +0 −2
scripts/kconfig/expr.h+0−2
@@ -25,7 +25,6 @@ struct file { · 24 unmodified lines
2525
2626 #define FILE_BUSY 0x0001
2727 #define FILE_SCANNED 0x0002
28−#define FILE_PRINTED 0x0004
2928
3029 typedef enum tristate {
3130 no, mod, yes
@@ -86,7 +85,6 @@ struct symbol { · 54 unmodified lines
8685 #define SYMBOL_CHECK 0x0008
8786 #define SYMBOL_CHOICE 0x0010
8887 #define SYMBOL_CHOICEVAL 0x0020
89−#define SYMBOL_PRINTED 0x0040
9088 #define SYMBOL_VALID 0x0080
9189 #define SYMBOL_OPTIONAL 0x0100
9290 #define SYMBOL_WRITE 0x0200
scripts/kconfig/gconf.c+0−2
@@ -119,8 +119,6 @@ const char *dbg_print_flags(int val) · 118 unmodified lines
119119 strcat(buf, "choice/");
120120 if (val & SYMBOL_CHOICEVAL)
121121 strcat(buf, "choiceval/");
122− if (val & SYMBOL_PRINTED)
123− strcat(buf, "printed/");
124122 if (val & SYMBOL_VALID)
125123 strcat(buf, "valid/");
126124 if (val & SYMBOL_OPTIONAL)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t