From: tip-bot for Peng Hao <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: peng.hao2@zte.com.cn, linux-kernel@vger.kernel.org,
mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de
Subject: [tip:x86/urgent] x86/resctrl: Remove unused variable
Date: Sun, 24 Mar 2019 14:10:05 -0700 [thread overview]
Message-ID: <tip-cec67c6ea58c6cca9234b7b551f3d66296bc1e69@git.kernel.org> (raw)
In-Reply-To: <1552152584-26087-1-git-send-email-peng.hao2@zte.com.cn>
Commit-ID: cec67c6ea58c6cca9234b7b551f3d66296bc1e69
Gitweb: https://git.kernel.org/tip/cec67c6ea58c6cca9234b7b551f3d66296bc1e69
Author: Peng Hao <peng.hao2@zte.com.cn>
AuthorDate: Sun, 10 Mar 2019 01:29:44 +0800
Committer: Thomas Gleixner <tglx@linutronix.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@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 | 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;
next prev parent reply other threads:[~2019-03-24 21:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-09 17:29 [PATCH] x86/resctrl: remove unused variable Peng Hao
2019-03-24 21:10 ` tip-bot for Peng Hao [this message]
2019-03-24 21:16 ` [tip:x86/urgent] x86/resctrl: Remove " tip-bot for Peng Hao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-cec67c6ea58c6cca9234b7b551f3d66296bc1e69@git.kernel.org \
--to=tipbot@zytor.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peng.hao2@zte.com.cn \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.