Commit 2c1460d
kbuild: remove redundant extra warning flags
There is no point in turning individual options off and then on again, or
vice versa, as the last one always wins. Now that -Wextra always gets
passed first, remove all the redundant lines about warnings that are
implied by either -Wall or -Wextra, and keep only the last one that
disables it in some configurations.
This should not have any effect but keep the Makefile more readable and
the command line shorter.
Link: https://lkml.kernel.org/r/20240415122037.1983124-3-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Kees Cook <keescook@chromium.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent f5982cc commit 2c1460d
1 file changed
+0
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
| |||
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | | - | |
94 | 88 | | |
95 | | - | |
96 | 89 | | |
97 | | - | |
98 | 90 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 91 | | |
104 | 92 | | |
105 | 93 | | |
| |||
150 | 138 | | |
151 | 139 | | |
152 | 140 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 141 | | |
157 | 142 | | |
158 | 143 | | |
| |||
0 commit comments