]> www.infradead.org Git - users/hch/misc.git/commitdiff
raid6: riscv: Clean up unused header file inclusion
authorChunyan Zhang <zhangchunyan@iscas.ac.cn>
Fri, 18 Jul 2025 07:27:07 +0000 (15:27 +0800)
committerPaul Walmsley <pjw@kernel.org>
Tue, 16 Sep 2025 22:29:55 +0000 (16:29 -0600)
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>
lib/raid6/recov_rvv.c
lib/raid6/rvv.c

index 5d54c4b437df785de9f9434e5366e03c58fac19a..5f779719c3d34c65c5199004506708ae947538f6 100644 (file)
@@ -4,9 +4,7 @@
  * Author: Chunyan Zhang <zhangchunyan@iscas.ac.cn>
  */
 
-#include <asm/simd.h>
 #include <asm/vector.h>
-#include <crypto/internal/simd.h>
 #include <linux/raid/pq.h>
 
 static int rvv_has_vector(void)
index 7d82efa5b14f9e2ceb37a88e509883856870db43..b193ea176d5d33908beab20c7bdb41cd752701ac 100644 (file)
@@ -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 */