Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfb60813 authored by Markus Elfring's avatar Markus Elfring Committed by Paul Mackerras
Browse files

KVM: PPC: e500: Delete an unnecessary initialisation in kvm_vcpu_ioctl_config_tlb()



The local variable "g2h_bitmap" will be set to an appropriate value
a bit later. Thus omit the explicit initialisation at the beginning.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
parent 46d4e747
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -743,7 +743,7 @@ int kvm_vcpu_ioctl_config_tlb(struct kvm_vcpu *vcpu,
	char *virt;
	struct page **pages;
	struct tlbe_priv *privs[2] = {};
	u64 *g2h_bitmap = NULL;
	u64 *g2h_bitmap;
	size_t array_len;
	u32 sets;
	int num_pages, ret, i;