Makefile.extrawarn: remove -Wnested-externs warning
authorArnd Bergmann <arnd@arndb.de>
Tue, 24 Nov 2020 15:43:17 +0000 (16:43 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 8 Dec 2020 14:30:05 +0000 (23:30 +0900)
commitc93e4aeed1be5b99715a9127f5b38d6b4ab9e5d7
treed3290241fcea25e71e72b5f746774117e183d6d1
parentc25ce589dca10d64dde139ae093abc258a32869c
Makefile.extrawarn: remove -Wnested-externs warning

The -Wnested-externs warning has become useless with gcc, since
this warns every time that BUILD_BUG_ON() or similar macros
are used.

With clang, the warning option does nothing to start with, so
just remove it entirely.

Suggested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.extrawarn