From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Otto Subject: [PATCH 4/5] credit: remove pointless local variable initialization. Date: Mon, 28 Dec 2015 00:16:47 -0500 Message-ID: <1451279808-25264-5-git-send-email-jtotto@uwaterloo.ca> References: <1450091323.16856.24.camel@citrix.com> <1451279808-25264-1-git-send-email-jtotto@uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1451279808-25264-1-git-send-email-jtotto@uwaterloo.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.campbell@citrix.com, xen-devel@lists.xen.org Cc: wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com, george.dunlap@eu.citrix.com, dario.faggioli@citrix.com, ian.jackson@eu.citrix.com, czylin@uwaterloo.ca, Joshua Otto , hjarmstr@uwaterloo.ca List-Id: xen-devel@lists.xenproject.org Coverity CID 1343301 No functional changes. Signed-off-by: Joshua Otto --- xen/common/sched_credit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index 0dce790..02afddf 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -1792,7 +1792,7 @@ csched_dump_pcpu(const struct scheduler *ops, int cpu) struct csched_private *prv = CSCHED_PRIV(ops); struct csched_pcpu *spc; struct csched_vcpu *svc; - spinlock_t *lock = lock; + spinlock_t *lock; unsigned long flags; int loop; #define cpustr keyhandler_scratch -- 1.9.1