Remove OPENSSL_CAN_USE_ATTR_FALLTHROUGH
Remnant of some pre-C++17 bits.
Change-Id: I609d506c4bf100da45755d740f1384ce194bf1be
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/78387
Commit-Queue: David Benjamin <davidben@google.com>
Auto-Submit: David Benjamin <davidben@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/crypto/internal.h b/crypto/internal.h
index d32b388..2f8c746 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -103,12 +103,6 @@
#define OPENSSL_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
-#if defined(__clang__) && __clang_major__ >= 5
-#if __has_attribute(fallthrough)
-#define OPENSSL_CAN_USE_ATTR_FALLTHROUGH
-#endif
-#endif
-
// GCC-like compilers indicate SSE2 with |__SSE2__|. MSVC leaves the caller to
// know that x86_64 has SSE2, and uses _M_IX86_FP to indicate SSE2 on x86.
// https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170