mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
87a846d588
commit
8421e0e29f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user