commit:     f775b28727ea9ec06f1a8b651f4a5b45367874f4
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 22:25:24 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 22:25:24 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f775b287

gen_initramfs.sh: remove unused function is_static()

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_initramfs.sh | 6 ------
 1 file changed, 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}" ]

Reply via email to