commit:     844beec776d10f4f66fbdc993ec0ead76e91e934
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 26 09:20:35 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 27 17:21:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844beec7

kernel-2.eclass: Drop useless unset of local variables

Reviewed-by: Alice Ferrazzi <alicef <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/kernel-2.eclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 1913942a679..4597da4c96b 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -558,7 +558,6 @@ kernel_is() {
        local v n=0
        for v in OKV KV_{MAJOR,MINOR,PATCH} ; do [[ -z ${!v} ]] && n=1 ; done
        [[ ${n} -eq 1 ]] && detect_version
-       unset v n
 
        # Now we can continue
        local operator

Reply via email to