commit: a8ecc34b1aa9e625fc953130f5b5082df0bb60d7
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue May 20 16:28:45 2025 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jun 5 10:55:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ecc34b
linux-info.eclass: Drop unused myARCH variable in getfilevar_noexec
This was copied from getfilevar but never used.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
eclass/linux-info.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 0f6138150144..c7950b4e2292 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: linux-info.eclass
@@ -253,7 +253,7 @@ getfilevar() {
# This is done with sed matching an expression only. If the variable is
defined,
# you will run into problems. See getfilevar for those cases.
getfilevar_noexec() {
- local ERROR basefname basedname mycat myARCH="${ARCH}"
+ local ERROR basefname basedname mycat
ERROR=0
mycat='cat'