s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Fri, 5 May 2023 22:39:09 +0000 (00:39 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 May 2023 01:56:23 +0000 (18:56 -0700)
commitc12753d5fa3eab636b5ced91d6a2155173c11527
tree53348e58f0707b15b256e2d7f7d1d8343a3de908
parent418d5c98319f67b9ae651babea031b5394425c18
s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS

Commit 0da6e5fd6c37 ("gcc: disable '-Warray-bounds' for gcc-13 too") makes
config GCC11_NO_ARRAY_BOUNDS to be for disabling -Warray-bounds in any gcc
version 11 and upwards, and with that, removes the GCC12_NO_ARRAY_BOUNDS
config as it is now covered by the semantics of GCC11_NO_ARRAY_BOUNDS.

As GCC11_NO_ARRAY_BOUNDS is yes by default, there is no need for the s390
architecture to explicitly select GCC11_NO_ARRAY_BOUNDS. Hence, the select
GCC12_NO_ARRAY_BOUNDS in arch/s390/Kconfig can simply be dropped.

Remove the unneeded "select GCC12_NO_ARRAY_BOUNDS".

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/s390/Kconfig