|
@@ -132,14 +132,14 @@ static __always_inline void jump_label_init(void)
|
|
|
|
|
|
static __always_inline bool static_key_false(struct static_key *key)
|
|
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 true;
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
static __always_inline bool static_key_true(struct static_key *key)
|
|
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 true;
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|