summaryrefslogtreecommitdiff
path: root/scripts/lib/wic
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:12:47 -0700
commit7d87c821da6a5020e8dde3f1907fb8d6a023b110 (patch)
tree71bd9aa4345a9cc100a5f00178a61d84a19d6a9e /scripts/lib/wic
parent1274379c91ee8e2fb9fbb34a6445cd5767eb4a35 (diff)
downloadopenembedded-core-7d87c821da6a5020e8dde3f1907fb8d6a023b110.tar.gz
openembedded-core-7d87c821da6a5020e8dde3f1907fb8d6a023b110.tar.bz2
openembedded-core-7d87c821da6a5020e8dde3f1907fb8d6a023b110.zip
wic: code cleanup: remove unused code
Removed unused global variable wks_vars and 2 unused functions get_wks_var and add_wks_var. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-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):
return (rc, out)
-# kickstart doesn't support variable substution in commands, so this
-# is our current simplistic scheme for supporting that
-
-wks_vars = dict()
-
-def get_wks_var(key):
- return wks_vars[key]
-
-def add_wks_var(key, val):
- wks_vars[key] = val
-
BOOTDD_EXTRA_SPACE = 16384
_BITBAKE_VARS = defaultdict(dict)