[PATCH 5/5] riscv: cpufeature: Drop unused includes
Andrew Jones
ajones at ventanamicro.com
Tue Feb 21 10:56:03 PST 2023
Do some additional include pruning while dropping errata_list.h,
which is getting dropped, since cpufeature.c includes hwcap.h
directly to get cpufeature IDs.
Signed-off-by: Andrew Jones <ajones at ventanamicro.com>
---
arch/riscv/kernel/cpufeature.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/riscv/kernel/cpufeature.c b/arch/riscv/kernel/cpufeature.c
index 85c99ae64017..151e1a715db9 100644
--- a/arch/riscv/kernel/cpufeature.c
+++ b/arch/riscv/kernel/cpufeature.c
@@ -8,19 +8,14 @@
#include <linux/bitmap.h>
#include <linux/ctype.h>
-#include <linux/libfdt.h>
#include <linux/log2.h>
#include <linux/module.h>
#include <linux/of.h>
#include <asm/alternative.h>
#include <asm/cacheflush.h>
-#include <asm/errata_list.h>
#include <asm/hwcap.h>
#include <asm/patch.h>
-#include <asm/pgtable.h>
#include <asm/processor.h>
-#include <asm/smp.h>
-#include <asm/switch_to.h>
#define NUM_ALPHA_EXTS ('z' - 'a' + 1)
--
2.39.1
More information about the linux-riscv
mailing list