aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-01-07 15:13:04 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 17:14:38 -0500
commitde83cf148aaefac8a538a076f2c3c4f33968e04a (patch)
treec20cea85fe69198408d22b752a1767d72e453ff9 /scripts/kconfig
parentd6ee35764f270c699e165b15dc59f4e55546bfda (diff)
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>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/expr.h2
-rw-r--r--scripts/kconfig/gconf.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index b7889971e42d..1ee8b1642d3b 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -25,7 +25,6 @@ struct file {
25 25
26#define FILE_BUSY 0x0001 26#define FILE_BUSY 0x0001
27#define FILE_SCANNED 0x0002 27#define FILE_SCANNED 0x0002
28#define FILE_PRINTED 0x0004
29 28
30typedef enum tristate { 29typedef enum tristate {
31 no, mod, yes 30 no, mod, yes
@@ -86,7 +85,6 @@ struct symbol {
86#define SYMBOL_CHECK 0x0008 85#define SYMBOL_CHECK 0x0008
87#define SYMBOL_CHOICE 0x0010 86#define SYMBOL_CHOICE 0x0010
88#define SYMBOL_CHOICEVAL 0x0020 87#define SYMBOL_CHOICEVAL 0x0020
89#define SYMBOL_PRINTED 0x0040
90#define SYMBOL_VALID 0x0080 88#define SYMBOL_VALID 0x0080
91#define SYMBOL_OPTIONAL 0x0100 89#define SYMBOL_OPTIONAL 0x0100
92#define SYMBOL_WRITE 0x0200 90#define SYMBOL_WRITE 0x0200
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 262908cfc2ac..df910cbab2c0 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -119,8 +119,6 @@ const char *dbg_print_flags(int val)
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)