Skip to content

Commit

Permalink
xen: remove cast from HYPERVISOR_shared_info assignment
Browse files Browse the repository at this point in the history
Both have type struct shared_info so no cast is needed.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Olaf Hering authored and Konrad Rzeszutek Wilk committed Jul 19, 2012
1 parent 38ad4f4 commit 4648da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,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
Expand Down

0 comments on commit 4648da7

Please sign in to comment.