From: Ed Bartosh Date: Mon, 3 Aug 2015 13:51:49 +0000 (+0300) Subject: wic: code cleanup: remove unused code X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d87c821da6a5020e8dde3f1907fb8d6a023b110;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py index af831d35052..0fa8a53b98e 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)