diff options
-rw-r--r-- | include/linux/jump_label.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h index a5079072da66..cf08540d6204 100644 --- a/include/linux/jump_label.h +++ b/include/linux/jump_label.h | |||
@@ -132,14 +132,14 @@ static __always_inline void jump_label_init(void) | |||
132 | 132 | ||
133 | static __always_inline bool static_key_false(struct static_key *key) | 133 | static __always_inline bool static_key_false(struct static_key *key) |
134 | { | 134 | { |
135 | if (unlikely(atomic_read(&key->enabled)) > 0) | 135 | if (unlikely(atomic_read(&key->enabled) > 0)) |
136 | return true; | 136 | return true; |
137 | return false; | 137 | return false; |
138 | } | 138 | } |
139 | 139 | ||
140 | static __always_inline bool static_key_true(struct static_key *key) | 140 | static __always_inline bool static_key_true(struct static_key *key) |
141 | { | 141 | { |
142 | if (likely(atomic_read(&key->enabled)) > 0) | 142 | if (likely(atomic_read(&key->enabled) > 0)) |
143 | return true; | 143 | return true; |
144 | return false; | 144 | return false; |
145 | } | 145 | } |