projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d4e74
)
KVM: PPC: e500: Delete an unnecessary initialisation in kvm_vcpu_ioctl_config_tlb()
author
Markus Elfring
<elfring@users.sourceforge.net>
Sun, 28 Aug 2016 15:37:10 +0000
(17:37 +0200)
committer
Paul Mackerras
<paulus@ozlabs.org>
Mon, 12 Sep 2016 00:12:51 +0000
(10:12 +1000)
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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/e500_mmu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/e500_mmu.c
b/arch/powerpc/kvm/e500_mmu.c
index
b65a894
..
e9c19e9
100644
(file)
--- a/
arch/powerpc/kvm/e500_mmu.c
+++ b/
arch/powerpc/kvm/e500_mmu.c
@@
-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;