From 6879650b927c96a2464224cdc2bed8245511cbf1 Mon Sep 17 00:00:00 2001 From: Emil Kronborg Date: Thu, 23 May 2024 12:56:00 +0000 Subject: [PATCH] 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. (From OE-Core rev: c00a9a8f25b0042b0723a5d20b88e92d473d22bf) Signed-off-by: Emil Kronborg Signed-off-by: Alexandre Belloni (cherry picked from commit 730d00b0d1d1d617b62900be12fa034bb41fc48b) Signed-off-by: Steve Sakoman --- meta/classes-global/insane.bbclass | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index bcc179fe26..9004a9dce2 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 = {}