summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-08-26 11:20:35 +0200
committerUlrich Müller <ulm@gentoo.org>2021-08-27 19:21:36 +0200
commit844beec776d10f4f66fbdc993ec0ead76e91e934 (patch)
tree0eedd6b32fcf5ac0bee6583ef500e9d91beb8707 /eclass/kernel-2.eclass
parentkernel-2.eclass: Replace bit-shift arithmetic by ver_test (diff)
downloadgentoo-844beec776d10f4f66fbdc993ec0ead76e91e934.tar.gz
gentoo-844beec776d10f4f66fbdc993ec0ead76e91e934.tar.bz2
gentoo-844beec776d10f4f66fbdc993ec0ead76e91e934.zip
kernel-2.eclass: Drop useless unset of local variables
Reviewed-by: Alice Ferrazzi <alicef@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 1913942a679b..4597da4c96bc 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