projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c2ffd9
)
x86/resctrl: Remove unused variable
author
Peng Hao
<peng.hao2@zte.com.cn>
Sat, 9 Mar 2019 17:29:44 +0000
(
01:29
+0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 24 Mar 2019 21:09:27 +0000
(22:09 +0100)
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
arch/x86/kernel/cpu/resctrl/monitor.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/resctrl/monitor.c
b/arch/x86/kernel/cpu/resctrl/monitor.c
index f33f11f69078e7f4497e48ae771466b74a4405a2..1573a0a6b52530f1759429bbee15476e29e31126 100644
(file)
--- 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;