Skip to content

Commit 2ad3cc0

Browse files
RichardWeiYanggregkh
authored andcommitted
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@gmail.com> CC: Jike Song <albcamus@gmail.com> Link: https://lore.kernel.org/r/20231229030654.17474-4-richard.weiyang@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d70a091 commit 2ad3cc0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

scripts/tags.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ find_other_sources()
8181
-name "$1" -not -type l -print;
8282
}
8383

84-
find_sources()
85-
{
86-
find_arch_sources $1 "$2"
87-
}
88-
8984
all_sources()
9085
{
9186
find_arch_include_sources ${SRCARCH} '*.[chS]'
@@ -95,7 +90,7 @@ all_sources()
9590
find_include_sources '*.[chS]'
9691
for arch in $ALLSOURCE_ARCHS
9792
do
98-
find_sources $arch '*.[chS]'
93+
find_arch_sources $arch '*.[chS]'
9994
done
10095
find_other_sources '*.[chS]'
10196
}
@@ -125,7 +120,7 @@ all_kconfigs()
125120
find ${tree}arch/ -maxdepth 1 $ignore \
126121
-name "Kconfig*" -not -type l -print;
127122
for arch in $ALLSOURCE_ARCHS; do
128-
find_sources $arch 'Kconfig*'
123+
find_arch_sources $arch 'Kconfig*'
129124
done
130125
find_other_sources 'Kconfig*'
131126
}

0 commit comments

Comments
 (0)