]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/cpu/hypervisor.c
x86/cpu: Clean up various files a bit
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / cpu / hypervisor.c
index fb5b86af0b017add1b7ed78ba869f3e5dd063a48..93ba8eeb100a8ed81e22eec13c2f771127531b4c 100644 (file)
 static inline void __cpuinit
 detect_hypervisor_vendor(struct cpuinfo_x86 *c)
 {
-       if (vmware_platform()) {
+       if (vmware_platform())
                c->x86_hyper_vendor = X86_HYPER_VENDOR_VMWARE;
-       } else {
+       else
                c->x86_hyper_vendor = X86_HYPER_VENDOR_NONE;
-       }
 }
 
 unsigned long get_hypervisor_tsc_freq(void)