* [PATCH] insane: Remove redundant returns
@ 2024-08-30 7:27 olani
0 siblings, 0 replies; only message in thread
From: olani @ 2024-08-30 7:27 UTC (permalink / raw)
To: openembedded-core; +Cc: olani
From: Ola x Nilsson <olani@axis.com>
Some redundant return statements were left over from
insane: Drop oe.qa.add_message usage
Signed-off-by: Ola x Nilsson <olani@axis.com>
---
meta/classes-global/insane.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 32adcc722b..d7aba89b49 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -113,7 +113,6 @@ def package_qa_check_libexec(path,name, d, elf):
if 'libexec' in path.split(os.path.sep):
oe.qa.handle_error("libexec", "%s: %s is using libexec please relocate to %s" % (name, package_qa_clean_path(path, d, name), libexec), d)
- return
QAPATHTEST[rpaths] = "package_qa_check_rpath"
def package_qa_check_rpath(file,name, d, elf):
@@ -932,7 +931,6 @@ def package_qa_check_deps(pkg, pkgdest, d):
QAPKGTEST[usrmerge] = "package_qa_check_usrmerge"
def package_qa_check_usrmerge(pkg, d):
-
pkgdest = d.getVar('PKGDEST')
pkg_dir = pkgdest + os.sep + pkg + os.sep
merged_dirs = ['bin', 'sbin', 'lib'] + d.getVar('MULTILIB_VARIANTS').split()
@@ -941,7 +939,6 @@ def package_qa_check_usrmerge(pkg, d):
msg = "%s package is not obeying usrmerge distro feature. /%s should be relocated to /usr." % (pkg, f)
oe.qa.handle_error("usrmerge", msg, d)
return
- return
QAPKGTEST[perllocalpod] = "package_qa_check_perllocalpod"
def package_qa_check_perllocalpod(pkg, d):
--
2.39.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-30 7:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 7:27 [PATCH] insane: Remove redundant returns olani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox