From: Joshua Otto Date: Thu, 7 Jan 2016 14:28:08 +0000 (+0100) Subject: credit: remove pointless local variable initialization X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1998 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9c419ee77f3e6c3a90a4a08c8682b4216bed8cb0;p=xen.git credit: remove pointless local variable initialization Coverity CID 1343301 No functional changes. Signed-off-by: Joshua Otto --- diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index 0dce790dc8..02afddfd2b 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