Skip to content

Commit

Permalink
kconfig: delete unused FILE_ and SYMBOL_ flags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg committed Jan 28, 2008
1 parent d6ee357 commit de83cf1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions scripts/kconfig/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ struct file {

#define FILE_BUSY 0x0001
#define FILE_SCANNED 0x0002
#define FILE_PRINTED 0x0004

typedef enum tristate {
no, mod, yes
Expand Down Expand Up @@ -86,7 +85,6 @@ struct symbol {
#define SYMBOL_CHECK 0x0008
#define SYMBOL_CHOICE 0x0010
#define SYMBOL_CHOICEVAL 0x0020
#define SYMBOL_PRINTED 0x0040
#define SYMBOL_VALID 0x0080
#define SYMBOL_OPTIONAL 0x0100
#define SYMBOL_WRITE 0x0200
Expand Down
2 changes: 0 additions & 2 deletions scripts/kconfig/gconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ const char *dbg_print_flags(int val)
strcat(buf, "choice/");
if (val & SYMBOL_CHOICEVAL)
strcat(buf, "choiceval/");
if (val & SYMBOL_PRINTED)
strcat(buf, "printed/");
if (val & SYMBOL_VALID)
strcat(buf, "valid/");
if (val & SYMBOL_OPTIONAL)
Expand Down

0 comments on commit de83cf1

Please sign in to comment.