From: Emil Kronborg Date: Thu, 23 May 2024 12:56:00 +0000 (+0000) Subject: insane.bbclass: remove leftover variables and comment X-Git-Tag: uninative-4.6~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=730d00b0d1d1d617b62900be12fa034bb41fc48b;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git insane.bbclass: remove leftover variables and comment The code that used these variable and the comment was introduced in commit b44d32ef41ef ("insane.bbclass: Portions of code were not running, fix this and sync with OE.dev. Also add tests for bad sysroot rpaths in binaries"). Later, in commit 17dae13fabe2 ("insane.bbclass: Fix ELF bitsize comparison"), some of that code was removed again, but not the variables and the comment. Signed-off-by: Emil Kronborg Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index b9d11d49106..151cf0c4eac 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -835,10 +835,6 @@ def prepopulate_objdump_p(elf, d): # Walk over all files in a directory and call func def package_qa_walk(warnfuncs, errorfuncs, package, d): - #if this will throw an exception, then fix the dict above - target_os = d.getVar('HOST_OS') - target_arch = d.getVar('HOST_ARCH') - warnings = {} errors = {} elves = {}