Skip to content

Commit adbbd97

Browse files
t-8charndb
authored andcommitted
scripts: headers_install.sh: Remove config leak ignore machinery
There are no entries left to ignore and none should be added again. Remove the now unused logic. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent e356da6 commit adbbd97

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

scripts/headers_install.sh

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,30 +64,10 @@ configs=$(sed -e '
6464
d
6565
' $OUTFILE)
6666

67-
# The entries in the following list do not result in an error.
68-
# Please do not add a new entry. This list is only for existing ones.
69-
# The list will be reduced gradually, and deleted eventually. (hopefully)
70-
#
71-
# The format is <file-name>:<CONFIG-option> in each line.
72-
config_leak_ignores="
73-
"
74-
7567
for c in $configs
7668
do
77-
leak_error=1
78-
79-
for ignore in $config_leak_ignores
80-
do
81-
if echo "$INFILE:$c" | grep -q "$ignore$"; then
82-
leak_error=
83-
break
84-
fi
85-
done
86-
87-
if [ "$leak_error" = 1 ]; then
88-
echo "error: $INFILE: leak $c to user-space" >&2
89-
exit 1
90-
fi
69+
echo "error: $INFILE: leak $c to user-space" >&2
70+
exit 1
9171
done
9272

9373
rm -f $TMPFILE

0 commit comments

Comments
 (0)