Re: [PATCH] arm/arm64: KVM: clean up useless code in kvm_timer_enable

2016-11-15 Thread Christoffer Dall
On Wed, Nov 09, 2016 at 10:50:14AM +0800, Longpeng(Mike) wrote: > 1) Since commit:41a54482 changed timer enabled variable to per-vcpu, >the correlative comment in kvm_timer_enable is useless now. > > 2) After the kvm module init successfully, the timecounter is always >non-null, so we can

[PATCH] arm/arm64: KVM: clean up useless code in kvm_timer_enable

2016-11-08 Thread Longpeng(Mike)
1) Since commit:41a54482 changed timer enabled variable to per-vcpu, the correlative comment in kvm_timer_enable is useless now. 2) After the kvm module init successfully, the timecounter is always non-null, so we can remove the checking of timercounter. Signed-off-by: Longpeng(Mike) ---