]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/jump_label.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[karo-tx-linux.git] / include / linux / jump_label.h
index e96be7245717f723486b8ad1bf6d2795dd4bed73..39999775b92221fa993120954496d15a8a1298b6 100644 (file)
@@ -140,14 +140,14 @@ static __always_inline void jump_label_init(void)
 
 static __always_inline bool static_key_false(struct static_key *key)
 {
-       if (unlikely(atomic_read(&key->enabled)) > 0)
+       if (unlikely(atomic_read(&key->enabled) > 0))
                return true;
        return false;
 }
 
 static __always_inline bool static_key_true(struct static_key *key)
 {
-       if (likely(atomic_read(&key->enabled)) > 0)
+       if (likely(atomic_read(&key->enabled) > 0))
                return true;
        return false;
 }