Merge tag 'md/4.5' of git://neil.brown.name/md
[deliverable/linux.git] / include / linux / kvm_para.h
index 00a97bb905db03a007450351441c823b8fa19112..35e568f04b1e7b94a6322c05d48583b43af8618c 100644 (file)
@@ -4,10 +4,8 @@
 #include <uapi/linux/kvm_para.h>
 
 
-static inline int kvm_para_has_feature(unsigned int feature)
+static inline bool kvm_para_has_feature(unsigned int feature)
 {
-       if (kvm_arch_para_features() & (1UL << feature))
-               return 1;
-       return 0;
+       return !!(kvm_arch_para_features() & (1UL << feature));
 }
 #endif /* __LINUX_KVM_PARA_H */
This page took 0.024654 seconds and 5 git commands to generate.