aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2015-02-24 10:32:09 -0500
committerMichal Marek <mmarek@suse.cz>2015-02-25 09:00:16 -0500
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)
978 978
979int expr_compare_type(enum expr_type t1, enum expr_type t2) 979int expr_compare_type(enum expr_type t1, enum expr_type t2)
980{ 980{
981#if 0
982 return 1;
983#else
984 if (t1 == t2) 981 if (t1 == t2)
985 return 0; 982 return 0;
986 switch (t1) { 983 switch (t1) {
@@ -1005,7 +1002,6 @@ int expr_compare_type(enum expr_type t1, enum expr_type t2)
1005 } 1002 }
1006 printf("[%dgt%d?]", t1, t2); 1003 printf("[%dgt%d?]", t1, t2);
1007 return 0; 1004 return 0;
1008#endif
1009} 1005}
1010 1006
1011static inline struct expr * 1007static inline struct expr *