summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-02-06 12:35:48 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-08 13:20:01 +0000
commitf88946d48db8cb66d541781e853fa4281d63dc44 (patch)
tree9af555b95311d3230a8de509a7793222629540de /meta/classes
parentde2ef0120432cba343452151e86cbc3c99876524 (diff)
downloadpoky-f88946d48db8cb66d541781e853fa4281d63dc44.tar.gz
kernel-yocto: Drop setting of unused variables in do_kernel_metadata
The machine_branch and machine_srcrev variables were set but not used in do_kernel_metadata. (From OE-Core rev: ee358e03b1ad6eb0624cee0306fef807de0116a6) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-yocto.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index a0362f6acb..9a4d2864eb 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -99,13 +99,6 @@ do_kernel_metadata() {
99 fi 99 fi
100 fi 100 fi
101 101
102 machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}"
103 machine_srcrev="${SRCREV_machine}"
104 if [ -z "${machine_srcrev}" ]; then
105 # fallback to SRCREV if a non machine_meta tree is being built
106 machine_srcrev="${SRCREV}"
107 fi
108
109 # In a similar manner to the kernel itself: 102 # In a similar manner to the kernel itself:
110 # 103 #
111 # defconfig: $(obj)/conf 104 # defconfig: $(obj)/conf