summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-06 04:15:26 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-06 04:16:28 +0100
commitb3483b7d488f07823be29bfa5fb131e7b5b9d021 (patch)
tree6a8731c0a4d086053853157051bfcd5ac2895d10
parentb5c6602760905bee2387ec62af7fe388ec07eecd (diff)
Remove redundant n/m/y._cached_str_val assignments
Will be automatically calculated and cached as needed. Less magic code.
-rw-r--r--kconfiglib.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index fe0c492..9c6103f 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -511,7 +511,6 @@ class Kconfig(object):
sym.is_constant = True
sym.orig_type = TRISTATE
sym._cached_tri_val = STR_TO_TRI[nmy]
- sym._cached_str_val = nmy
self.const_syms[nmy] = sym