The variable "d" is defined twice. However, the second one is not necessary as the vCPU as already been deduced from the first "d".
Signed-off-by: Julien Grall <julien.gr...@citrix.com> --- Cc: Ian Campbell <ian.campb...@citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Keir Fraser <k...@xen.org> Cc: Tim Deegan <t...@xen.org> --- xen/common/domain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index b0378aa..b95f29a 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -1329,7 +1329,6 @@ long do_vcpu_op(int cmd, unsigned int vcpuid, XEN_GUEST_HANDLE_PARAM(void) arg) case VCPUOP_register_vcpu_info: { - struct domain *d = v->domain; struct vcpu_register_vcpu_info info; rc = -EFAULT; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel