diff options
author | Nour-eddine Taleb <kernel.noureddine@gmail.com> | 2022-03-03 15:34:16 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-04 02:58:46 +0100 |
commit | e40b38a41ce916d6a3a4751d59a01b6c0c03afd0 (patch) | |
tree | 3a9eecd4d4d7f68ea12e6a31383d4df8a4cd0c26 /arch/powerpc/kvm/book3s_xics.c | |
parent | KVM: PPC: Decrement module refcount if init_vm fails (diff) | |
download | linux-e40b38a41ce916d6a3a4751d59a01b6c0c03afd0.tar.xz linux-e40b38a41ce916d6a3a4751d59a01b6c0c03afd0.zip |
KVM: PPC: Book3S HV: remove unnecessary casts
Remove unnecessary casts, from "void *" to "struct kvmppc_xics *"
Signed-off-by: Nour-eddine Taleb <kernel.noureddine@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220303143416.201851-1-kernel.noureddine@gmail.com
Diffstat (limited to 'arch/powerpc/kvm/book3s_xics.c')
-rw-r--r-- | arch/powerpc/kvm/book3s_xics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c index 306c85e70eea..ab6d37d78c62 100644 --- a/arch/powerpc/kvm/book3s_xics.c +++ b/arch/powerpc/kvm/book3s_xics.c @@ -1431,7 +1431,7 @@ static int kvmppc_xics_create(struct kvm_device *dev, u32 type) static void kvmppc_xics_init(struct kvm_device *dev) { - struct kvmppc_xics *xics = (struct kvmppc_xics *)dev->private; + struct kvmppc_xics *xics = dev->private; xics_debugfs_init(xics); } |