Re: [PATCH 19/56] kvm: Remove void casts

From: Jack Stone
Date: Thu Apr 09 2009 - 06:01:00 EST


[Added maintainer CC]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
> virt/kvm/kvm_main.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
> index 605697e..95f915a 100644
> --- a/virt/kvm/kvm_main.c
> +++ b/virt/kvm/kvm_main.c
> @@ -795,8 +795,7 @@ static struct kvm *kvm_create_vm(void)
> kfree(kvm);
> return ERR_PTR(-ENOMEM);
> }
> - kvm->coalesced_mmio_ring =
> - (struct kvm_coalesced_mmio_ring *)page_address(page);
> + kvm->coalesced_mmio_ring = page_address(page);
> #endif
>
> #if defined(CONFIG_MMU_NOTIFIER) && defined(KVM_ARCH_WANT_MMU_NOTIFIER)
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/