summaryrefslogtreecommitdiff
path: root/lib/raid6/rvv.c
diff options
context:
space:
mode:
authorChunyan Zhang <zhangchunyan@iscas.ac.cn>2025-07-18 15:27:07 +0800
committerPaul Walmsley <pjw@kernel.org>2025-09-16 16:29:55 -0600
commitf8a03516a530cc36bc9015c84ba7540ee3e8d7bd (patch)
treed38d63a255f18cc7e977fe49693116522df1951a /lib/raid6/rvv.c
parenta601732236834a84e110508e884dc8d368d99d07 (diff)
raid6: riscv: Clean up unused header file inclusion
These two C files don't reference things defined in simd.h or types.h so remove these redundant #inclusions. Fixes: 6093faaf9593 ("raid6: Add RISC-V SIMD syndrome and recovery calculations") Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Chunyan Zhang <zhangchunyan@iscas.ac.cn> Reviewed-by: Nutty Liu <liujingqi@lanxincomputing.com> Link: https://lore.kernel.org/r/20250718072711.3865118-2-zhangchunyan@iscas.ac.cn Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'lib/raid6/rvv.c')
-rw-r--r--lib/raid6/rvv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/raid6/rvv.c b/lib/raid6/rvv.c
index 7d82efa5b14f..b193ea176d5d 100644
--- a/lib/raid6/rvv.c
+++ b/lib/raid6/rvv.c
@@ -9,11 +9,8 @@
* Copyright 2002-2004 H. Peter Anvin
*/
-#include <asm/simd.h>
#include <asm/vector.h>
-#include <crypto/internal/simd.h>
#include <linux/raid/pq.h>
-#include <linux/types.h>
#include "rvv.h"
#define NSIZE (riscv_v_vsize / 32) /* NSIZE = vlenb */