From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A411382C5 for ; Mon, 8 Feb 2021 22:32:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25CE3E0936; Mon, 8 Feb 2021 22:32:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DF29E0936 for ; Mon, 8 Feb 2021 22:32:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85F48340D79 for ; Mon, 8 Feb 2021 22:32:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A639E46F for ; Mon, 8 Feb 2021 22:32:52 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1612823124.f775b28727ea9ec06f1a8b651f4a5b45367874f4.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: f775b28727ea9ec06f1a8b651f4a5b45367874f4 X-VCS-Branch: master Date: Mon, 8 Feb 2021 22:32:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5d784845-c573-4d4a-b43e-f94b7d028102 X-Archives-Hash: 0e1e44f07edcf340151469c9fc372dff commit: f775b28727ea9ec06f1a8b651f4a5b45367874f4 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Feb 8 22:25:24 2021 +0000 Commit: Thomas Deutschmann gentoo 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 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}" ]