summaryrefslogtreecommitdiff
path: root/scripts/kconfig/expr.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2015-02-24 16:32:09 +0100
committerMichal Marek <mmarek@suse.cz>2015-02-25 15:00:16 +0100
commit463157444e377bf9b279101b1f16a94c4648c03a (patch)
tree91d6a75fb0d7a366dac5047e11af25b6f0b6c0cc /scripts/kconfig/expr.c
parent70529b1a1784503169416df19ce3d68746401340 (diff)
kconfig: Remove dead code
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/expr.c')
-rw-r--r--scripts/kconfig/expr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c
index d6626521f9b9..4b4cf8e21314 100644
--- a/scripts/kconfig/expr.c
+++ b/scripts/kconfig/expr.c
@@ -978,9 +978,6 @@ tristate expr_calc_value(struct expr *e)
int expr_compare_type(enum expr_type t1, enum expr_type t2)
{
-#if 0
- return 1;
-#else
if (t1 == t2)
return 0;
switch (t1) {
@@ -1005,7 +1002,6 @@ int expr_compare_type(enum expr_type t1, enum expr_type t2)
}
printf("[%dgt%d?]", t1, t2);
return 0;
-#endif
}
static inline struct expr *