]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: code cleanup: remove unused code
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 3 Aug 2015 13:51:49 +0000 (16:51 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Aug 2015 07:12:47 +0000 (00:12 -0700)
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>
scripts/lib/wic/utils/oe/misc.py

index af831d350523653a673729228fca4c407bd2eb72..0fa8a53b98ecf10caf76e9ddedc728ae24c97c6d 100644 (file)
@@ -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)