KVM: arm64: Drop type input from kvm_put_guest

We can use typeof() to avoid the need for the type input.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200804170604.42662-4-drjones@redhat.com
This commit is contained in:
Andrew Jones 2020-08-04 19:06:01 +02:00 • committed by Marc Zyngier
commit 4d2d4ce001
2 changed files with 7 additions and 6 deletions