lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 24 Mar 2019 14:10:05 -0700 From: tip-bot for Peng Hao <tipbot@...or.com> To: linux-tip-commits@...r.kernel.org Cc: peng.hao2@....com.cn, linux-kernel@...r.kernel.org, mingo@...nel.org, hpa@...or.com, tglx@...utronix.de Subject: [tip:x86/urgent] x86/resctrl: Remove unused variable Commit-ID: cec67c6ea58c6cca9234b7b551f3d66296bc1e69 Gitweb: https://git.kernel.org/tip/cec67c6ea58c6cca9234b7b551f3d66296bc1e69 Author: Peng Hao <peng.hao2@....com.cn> AuthorDate: Sun, 10 Mar 2019 01:29:44 +0800 Committer: Thomas Gleixner <tglx@...utronix.de> CommitDate: Sun, 24 Mar 2019 22:07:46 +0100 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@....com.cn> Signed-off-by: Thomas Gleixner <tglx@...utronix.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 | 3 --- 1 file changed, 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;
Powered by blists - more mailing lists