From: Olaf Hering Date: Tue, 17 Jul 2012 09:57:41 +0000 (+0200) Subject: xen: remove cast from HYPERVISOR_shared_info assignment X-Git-Tag: v2.6.39-400.9.0~488^2~2^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cbf43a81f28f00654bc5934fc324f26223f907b5;p=users%2Fjedix%2Flinux-maple.git xen: remove cast from HYPERVISOR_shared_info assignment Both have type struct shared_info so no cast is needed. Signed-off-by: Olaf Hering Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 17929f1537a1..4f8037cfda6e 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -98,7 +98,7 @@ EXPORT_SYMBOL_GPL(xen_have_vector_callback); * Point at some empty memory to start with. We map the real shared_info * page as soon as fixmap is up and running. */ -struct shared_info *HYPERVISOR_shared_info = (void *)&xen_dummy_shared_info; +struct shared_info *HYPERVISOR_shared_info = &xen_dummy_shared_info; /* * Flag to determine whether vcpu info placement is available on all