diff mbox series

insane.bbclass: remove leftover variables and comment

Message ID 20240523125556.46020-1-emil.kronborg@protonmail.com
State New
Headers show
Series insane.bbclass: remove leftover variables and comment | expand

Commit Message

Emil Kronborg May 23, 2024, 12:56 p.m. UTC
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 <emil.kronborg@protonmail.com>
---
 meta/classes-global/insane.bbclass | 4 ----
 1 file changed, 4 deletions(-)


base-commit: 50f78cb9de68cd4317f34321dfdb06d72ce5d3c6
diff mbox series

Patch

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 99736830b9a8..8bbecd3c2d17 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -840,10 +840,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 = {}