[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20231229030654.17474-4-richard.weiyang@gmail.com>
Date: Fri, 29 Dec 2023 03:06:54 +0000
From: Wei Yang <richard.weiyang@...il.com>
To: gregkh@...uxfoundation.org,
masahiroy@...nel.org,
nicolas@...sle.eu
Cc: linux-kernel@...r.kernel.org,
Wei Yang <richard.weiyang@...il.com>,
Jike Song <albcamus@...il.com>
Subject: [PATCH 4/4] scripts/tags.sh: remove find_sources
After commit '4f628248a578 kbuild: reintroduce ALLSOURCE_ARCHS support for
tags/cscope', find_sources only invoke find_arch_sources.
Signed-off-by: Wei Yang <richard.weiyang@...il.com>
CC: Jike Song <albcamus@...il.com>
---
scripts/tags.sh | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 5061ec255291..45568fee0cbb 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -81,11 +81,6 @@ find_other_sources()
-name "$1" -not -type l -print;
}
-find_sources()
-{
- find_arch_sources $1 "$2"
-}
-
all_sources()
{
find_arch_include_sources ${SRCARCH} '*.[chS]'
@@ -95,7 +90,7 @@ all_sources()
find_include_sources '*.[chS]'
for arch in $ALLSOURCE_ARCHS
do
- find_sources $arch '*.[chS]'
+ find_arch_sources $arch '*.[chS]'
done
find_other_sources '*.[chS]'
}
@@ -125,7 +120,7 @@ all_kconfigs()
find ${tree}arch/ -maxdepth 1 $ignore \
-name "Kconfig*" -not -type l -print;
for arch in $ALLSOURCE_ARCHS; do
- find_sources $arch 'Kconfig*'
+ find_arch_sources $arch 'Kconfig*'
done
find_other_sources 'Kconfig*'
}
--
2.34.1
Powered by blists - more mailing lists