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
25 25
26#define FILE_BUSY 0x000126#define FILE_BUSY 0x0001
27#define FILE_SCANNED 0x000227#define FILE_SCANNED 0x0002
28#define FILE_PRINTED 0x0004
29 28
30typedef enum tristate {29typedef enum tristate {
31 no, mod, yes30 no, mod, yes
@@ -86,7 +85,6 @@ struct symbol { · 54 unmodified lines
86#define SYMBOL_CHECK 0x000885#define SYMBOL_CHECK 0x0008
87#define SYMBOL_CHOICE 0x001086#define SYMBOL_CHOICE 0x0010
88#define SYMBOL_CHOICEVAL 0x002087#define SYMBOL_CHOICEVAL 0x0020
89#define SYMBOL_PRINTED 0x0040
90#define SYMBOL_VALID 0x008088#define SYMBOL_VALID 0x0080
91#define SYMBOL_OPTIONAL 0x010089#define SYMBOL_OPTIONAL 0x0100
92#define SYMBOL_WRITE 0x020090#define SYMBOL_WRITE 0x0200
scripts/kconfig/gconf.c+0−2
@@ -119,8 +119,6 @@ const char *dbg_print_flags(int val) · 118 unmodified lines
119 strcat(buf, "choice/");119 strcat(buf, "choice/");
120 if (val & SYMBOL_CHOICEVAL)120 if (val & SYMBOL_CHOICEVAL)
121 strcat(buf, "choiceval/");121 strcat(buf, "choiceval/");
122 if (val & SYMBOL_PRINTED)
123 strcat(buf, "printed/");
124 if (val & SYMBOL_VALID)122 if (val & SYMBOL_VALID)
125 strcat(buf, "valid/");123 strcat(buf, "valid/");
126 if (val & SYMBOL_OPTIONAL)124 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