summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-03 16:51:49 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 00:14:01 -0700
commit8421e0e29f5e2073de8b8162b28a99e2582bd64e (patch)
tree7845140a6b53007f2fa882dc58fc884cd2b4e7b9
parent87a846d588f49ce2e0e166fa3f7c671d97821635 (diff)
downloadpoky-8421e0e29f5e2073de8b8162b28a99e2582bd64e.tar.gz
wic: code cleanup: remove unused code
Removed unused global variable wks_vars and 2 unused functions get_wks_var and add_wks_var. (From OE-Core rev: 7d87c821da6a5020e8dde3f1907fb8d6a023b110) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/wic/utils/oe/misc.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py
index af831d3505..0fa8a53b98 100644
--- a/scripts/lib/wic/utils/oe/misc.py
+++ b/scripts/lib/wic/utils/oe/misc.py
@@ -120,17 +120,6 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch=3):
120 120
121 return (rc, out) 121 return (rc, out)
122 122
123# kickstart doesn't support variable substution in commands, so this
124# is our current simplistic scheme for supporting that
125
126wks_vars = dict()
127
128def get_wks_var(key):
129 return wks_vars[key]
130
131def add_wks_var(key, val):
132 wks_vars[key] = val
133
134BOOTDD_EXTRA_SPACE = 16384 123BOOTDD_EXTRA_SPACE = 16384
135 124
136_BITBAKE_VARS = defaultdict(dict) 125_BITBAKE_VARS = defaultdict(dict)