diff options
| author | Ola x Nilsson <olani@axis.com> | 2024-08-30 09:27:24 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-01 11:05:20 +0100 |
| commit | 4a3eb4f48724fc549139cd902c93a94c02dc5e3e (patch) | |
| tree | 9afc359b0d13a5c6d560fa8866d6a1c1e6ba69b2 /meta/classes-global/insane.bbclass | |
| parent | b971a3a77cfc01de9dc83e97afc990081f4b9166 (diff) | |
| download | poky-4a3eb4f48724fc549139cd902c93a94c02dc5e3e.tar.gz | |
insane: Remove redundant returns
Some redundant return statements were left over from
insane: Drop oe.qa.add_message usage
(From OE-Core rev: 1e49635f802b04acad14115640ce9fcd63cc32a7)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/insane.bbclass')
| -rw-r--r-- | meta/classes-global/insane.bbclass | 3 |
1 files changed, 0 insertions, 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): | |||
| 113 | 113 | ||
| 114 | if 'libexec' in path.split(os.path.sep): | 114 | if 'libexec' in path.split(os.path.sep): |
| 115 | oe.qa.handle_error("libexec", "%s: %s is using libexec please relocate to %s" % (name, package_qa_clean_path(path, d, name), libexec), d) | 115 | oe.qa.handle_error("libexec", "%s: %s is using libexec please relocate to %s" % (name, package_qa_clean_path(path, d, name), libexec), d) |
| 116 | return | ||
| 117 | 116 | ||
| 118 | QAPATHTEST[rpaths] = "package_qa_check_rpath" | 117 | QAPATHTEST[rpaths] = "package_qa_check_rpath" |
| 119 | def package_qa_check_rpath(file,name, d, elf): | 118 | def package_qa_check_rpath(file,name, d, elf): |
| @@ -932,7 +931,6 @@ def package_qa_check_deps(pkg, pkgdest, d): | |||
| 932 | 931 | ||
| 933 | QAPKGTEST[usrmerge] = "package_qa_check_usrmerge" | 932 | QAPKGTEST[usrmerge] = "package_qa_check_usrmerge" |
| 934 | def package_qa_check_usrmerge(pkg, d): | 933 | def package_qa_check_usrmerge(pkg, d): |
| 935 | |||
| 936 | pkgdest = d.getVar('PKGDEST') | 934 | pkgdest = d.getVar('PKGDEST') |
| 937 | pkg_dir = pkgdest + os.sep + pkg + os.sep | 935 | pkg_dir = pkgdest + os.sep + pkg + os.sep |
| 938 | merged_dirs = ['bin', 'sbin', 'lib'] + d.getVar('MULTILIB_VARIANTS').split() | 936 | merged_dirs = ['bin', 'sbin', 'lib'] + d.getVar('MULTILIB_VARIANTS').split() |
| @@ -941,7 +939,6 @@ def package_qa_check_usrmerge(pkg, d): | |||
| 941 | msg = "%s package is not obeying usrmerge distro feature. /%s should be relocated to /usr." % (pkg, f) | 939 | msg = "%s package is not obeying usrmerge distro feature. /%s should be relocated to /usr." % (pkg, f) |
| 942 | oe.qa.handle_error("usrmerge", msg, d) | 940 | oe.qa.handle_error("usrmerge", msg, d) |
| 943 | return | 941 | return |
| 944 | return | ||
| 945 | 942 | ||
| 946 | QAPKGTEST[perllocalpod] = "package_qa_check_perllocalpod" | 943 | QAPKGTEST[perllocalpod] = "package_qa_check_perllocalpod" |
| 947 | def package_qa_check_perllocalpod(pkg, d): | 944 | def package_qa_check_perllocalpod(pkg, d): |
