Skip to content

Commit 3916a41

Browse files
jithu83KAGA-KOKO
authored andcommitted
x86/intel_rdt: Remove redundant assignment
The assignment to the 'files' variable is immediately overwritten in the following line. Remove the older assignment, which was meant specifially for creating control groups files. Fixes: c7d9aac ("x86/intel_rdt/cqm: Add mkdir support for RDT monitoring") Reported-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Jithu Joseph <jithu.joseph@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Fenghua Yu <fenghua.yu@intel.com> Cc: tony.luck@intel.com Cc: vikas.shivappa@intel.com Link: https://lkml.kernel.org/r/1507157337-18118-1-git-send-email-jithu.joseph@intel.com
1 parent 5fd88b6 commit 3916a41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/kernel/cpu/intel_rdt_rdtgroup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,6 @@ static int mkdir_rdt_prepare(struct kernfs_node *parent_kn,
16351635
goto out_destroy;
16361636
}
16371637

1638-
files = RFTYPE_BASE | RFTYPE_CTRL;
16391638
files = RFTYPE_BASE | BIT(RF_CTRLSHIFT + rtype);
16401639
ret = rdtgroup_add_files(kn, files);
16411640
if (ret) {

0 commit comments

Comments
 (0)