aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-08 23:25:24 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-08 23:25:24 +0100
commitf775b28727ea9ec06f1a8b651f4a5b45367874f4 (patch)
treeae4f63e6ec6c18990acac1a16ddd7d22ce7c2ffb /gen_initramfs.sh
parentBump kmod to v28 (diff)
downloadgenkernel-f775b28727ea9ec06f1a8b651f4a5b45367874f4.tar.gz
genkernel-f775b28727ea9ec06f1a8b651f4a5b45367874f4.tar.bz2
genkernel-f775b28727ea9ec06f1a8b651f4a5b45367874f4.zip
gen_initramfs.sh: remove unused function is_static()
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_initramfs.sh')
-rwxr-xr-xgen_initramfs.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index aca2f90..3fc400d 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -1827,12 +1827,6 @@ append_modprobed() {
fi
}
-# check for static linked file with objdump
-is_static() {
- LANG="C" LC_ALL="C" objdump -T $1 2>&1 | grep "not a dynamic object" > /dev/null
- return $?
-}
-
append_auxiliary() {
local TDIR="${TEMP}/initramfs-aux-temp"
if [ -d "${TDIR}" ]