]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
linux-kernel-base: Delete unused function
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jul 2026 21:32:42 +0000 (22:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Aug 2026 17:04:08 +0000 (18:04 +0100)
Drop a funciton which seems unused and a pointless comment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/linux-kernel-base.bbclass

index e2187a73f0e01f0e7965451ed4cf2205cc0aa4bb..76d8b4d45136a3a746a4cd8c11c6b736e65a3832 100644 (file)
@@ -50,13 +50,7 @@ def get_kernellocalversion_file(p):
 
     return ""
 
-def linux_module_packages(s, d):
-    suffix = ""
-    return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))
-
 export KBUILD_BUILD_VERSION = "1"
 export KBUILD_BUILD_USER ?= "oe-user"
 export KBUILD_BUILD_HOST ?= "oe-host"
 
-# that's all
-