Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: Matt Turner <mattst88@g.o>
Subject: [gentoo-catalyst] [PATCH 17/37] targets: Delete some more dead code
Date: Wed, 21 Oct 2020 00:24:27
Message-Id: 20201021002344.378131-17-mattst88@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 01/37] catalyst: Use early return to unindent code by Matt Turner
1 Dead since 2015.
2
3 Fixes: 1c7687f6 ("update-modules doesn't exists anymore.")
4 Signed-off-by: Matt Turner <mattst88@g.o>
5 ---
6 targets/support/kmerge.sh | 7 -------
7 1 file changed, 7 deletions(-)
8
9 diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
10 index d512954b..911d7cb3 100755
11 --- a/targets/support/kmerge.sh
12 +++ b/targets/support/kmerge.sh
13 @@ -247,13 +247,6 @@ make_destpath
14 genkernel_compile
15
16 sed -i "/USE=\"\${USE} ${kernel_use} \"/d" ${clst_make_conf}
17 -# grep out the kernel version so that we can do our modules magic
18 -VER=`grep ^VERSION\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
19 -PAT=`grep ^PATCHLEVEL\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
20 -SUB=`grep ^SUBLEVEL\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
21 -EXV=`grep ^EXTRAVERSION\ \= /usr/src/linux/Makefile | sed -e "s/EXTRAVERSION =//" -e "s/ //g"`
22 -clst_fudgeuname=${VER}.${PAT}.${SUB}${EXV}
23 -
24 unset USE
25
26 if [ -n "${clst_KERNCACHE}" ]
27 --
28 2.26.2