gcc-plugins: Remove cyc_complexity
authorKees Cook <keescook@chromium.org>
Wed, 20 Oct 2021 17:35:54 +0000 (10:35 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 21 Oct 2021 15:41:47 +0000 (08:41 -0700)
commitb4d89579ccb1ad5ffcdb3430933ce1e31a009ec7
treefd37e2d584984bd1df7f86155df67a6f4f235d18
parent8bd51a2ba3c3bb81a693fff17e983d02d914c14c
gcc-plugins: Remove cyc_complexity

This plugin has no impact on the resulting binary, is disabled
under COMPILE_TEST, and is not enabled on any builds I'm aware of.
Additionally, given the clarified purpose of GCC plugins in the kernel,
remove cyc_complexity.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-hardening@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20211020173554.38122-3-keescook@chromium.org
Documentation/kbuild/gcc-plugins.rst
scripts/Makefile.gcc-plugins
scripts/gcc-plugins/Kconfig
scripts/gcc-plugins/cyc_complexity_plugin.c [deleted file]