x86/time: slightly streamline __update_vcpu_system_time()
authorJan Beulich <jbeulich@suse.com>
Tue, 13 Oct 2015 15:18:34 +0000 (17:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Oct 2015 15:18:34 +0000 (17:18 +0200)
commit838eefd6eb95af1009cd89feeb5dc02d365cf482
treee64df85eb4e749d2bef5e415c52e82742dac3165
parent941cd44324db7eddc46cba4596fa13d505066ccf
x86/time: slightly streamline __update_vcpu_system_time()

Fold two if()-s using the same condition, converting the memset() so
far separating them to a simple initializer. Move common assignments
out of the conditional. Drop an unnecessary initializer.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/time.c