summaryrefslogtreecommitdiff
path: root/lib/raid6/avx512.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/raid6/avx512.c')
-rw-r--r--lib/raid6/avx512.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/raid6/avx512.c b/lib/raid6/avx512.c
index 9c3e822e1adf..009bd0adeebf 100644
--- a/lib/raid6/avx512.c
+++ b/lib/raid6/avx512.c
@@ -17,8 +17,6 @@
*
*/
-#ifdef CONFIG_AS_AVX512
-
#include <linux/raid/pq.h>
#include "x86.h"
@@ -560,5 +558,3 @@ const struct raid6_calls raid6_avx512x4 = {
.priority = 2 /* Prefer AVX512 over priority 1 (SSE2 and others) */
};
#endif
-
-#endif /* CONFIG_AS_AVX512 */