From 786121bf731f1a0ef4f08e5d9c80637c38b4ca6a Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 29 Apr 2022 11:21:27 +0200 Subject: [PATCH] qsimd: remove dead preprocessor directives Following 6323ccfa733da6ca55f8a69c0398f12a78bb32f7, the #if/#elif chain switching over the Q_PROCESSOR_ values starts with unadorned defined(Q_PROCESSOR_ARM) now, so the #elif with the same condition at the end of the chain is dead code. Change-Id: Ie17041fbf025fd6ef5a817e0c4d66cd300252c8c Reviewed-by: Allan Sandfeld Jensen --- src/corelib/global/qsimd_p.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/corelib/global/qsimd_p.h b/src/corelib/global/qsimd_p.h index 4c00439700..b8e3197eca 100644 --- a/src/corelib/global/qsimd_p.h +++ b/src/corelib/global/qsimd_p.h @@ -191,9 +191,6 @@ QT_WARNING_DISABLE_INTEL(103) # else # define QT_FUNCTION_TARGET(x) # endif -#elif defined(Q_PROCESSOR_ARM) -# define QT_COMPILER_SUPPORTS_HERE(x) ((__ARM_FEATURE_ ## x) || (__ ## x ## __)) -# define QT_FUNCTION_TARGET(x) #else # define QT_COMPILER_SUPPORTS_HERE(x) (__ ## x ## __) # define QT_FUNCTION_TARGET(x)