Skip to content

Commit 7f2daa9

Browse files
Peng HaoKAGA-KOKO
authored andcommitted
x86/resctrl: Remove unused variable
Variable "struct rdt_resource *r" is set but not used. So remove it. Signed-off-by: Peng Hao <peng.hao2@zte.com.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/1552152584-26087-1-git-send-email-peng.hao2@zte.com.cn
1 parent 8c2ffd9 commit 7f2daa9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/kernel/cpu/resctrl/monitor.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,11 +501,8 @@ void cqm_handle_limbo(struct work_struct *work)
501501
void cqm_setup_limbo_handler(struct rdt_domain *dom, unsigned long delay_ms)
502502
{
503503
unsigned long delay = msecs_to_jiffies(delay_ms);
504-
struct rdt_resource *r;
505504
int cpu;
506505

507-
r = &rdt_resources_all[RDT_RESOURCE_L3];
508-
509506
cpu = cpumask_any(&dom->cpu_mask);
510507
dom->cqm_work_cpu = cpu;
511508

0 commit comments

Comments
 (0)