x86/intel_rdt: Remove duplicated include from intel_rdt_rdtgroup.c
PATCH 1/1 x86/intel_rdt: Remove duplicated include from intel_rdt_rdtgroup.c
From: Wei Yongjun <[email protected]>
Remove duplicated include.
Signed-off-by Wei Yongjun <[email protected]>
--- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +0 -1
@@ -27,7 +27,6 @@#include <linux/seq_file.h> #include <linux/sched.h> #include <linux/slab.h> -#include <linux/cpu.h> #include <linux/task_work.h> #include <uapi/linux/magic.h>
Quoted 14 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Remove duplicated include.
Signed-off-by Wei Yongjun <[email protected]>--- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 1 - 1 file changed, 1 deletion(-)arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +0
-0
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c line 32
Quoted 7 lines
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +0
-1@@ -27,7 +27,6 @@#include <linux/seq_file.h> #include <linux/sched.h> #include <linux/slab.h> -#include <linux/cpu.h> #include <linux/task_work.h> #include <uapi/linux/magic.h>
Same comment as for your other trivial patch: the list of includes in that .c file can probably be further reduced.
I.e. instead of a mindless single liner that helps no-one, try to improve the code for real.
Thanks,
Ingo