Skip to content

Commit de83cf1

Browse files
committed
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. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org>
1 parent d6ee357 commit de83cf1

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎scripts/kconfig/expr.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ struct file {
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 {
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‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ const char *dbg_print_flags(int val)
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)

0 commit comments

Comments
 (0)