diff options
author | Peng Hao <peng.hao2@zte.com.cn> | 2019-03-10 01:29:44 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-03-24 22:09:27 +0100 |
commit | 7f2daa96759b0700ad28579133aa91bc663632a7 (patch) | |
tree | f9dccc392035bf3217db3e73ebc4865fd42ca0f4 /arch | |
parent | 8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff) | |
download | linux-7f2daa96759b0700ad28579133aa91bc663632a7.tar.gz linux-7f2daa96759b0700ad28579133aa91bc663632a7.tar.bz2 linux-7f2daa96759b0700ad28579133aa91bc663632a7.zip |
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/resctrl/monitor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/resctrl/monitor.c b/arch/x86/kernel/cpu/resctrl/monitor.c index f33f11f69078..1573a0a6b525 100644 --- a/arch/x86/kernel/cpu/resctrl/monitor.c +++ b/arch/x86/kernel/cpu/resctrl/monitor.c @@ -501,11 +501,8 @@ out_unlock: void cqm_setup_limbo_handler(struct rdt_domain *dom, unsigned long delay_ms) { unsigned long delay = msecs_to_jiffies(delay_ms); - struct rdt_resource *r; int cpu; - r = &rdt_resources_all[RDT_RESOURCE_L3]; - cpu = cpumask_any(&dom->cpu_mask); dom->cqm_work_cpu = cpu; |