diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-17 13:15:40 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 15:39:19 -0700 |
commit | 51fbb910f52c8559a78665d203e55ab2b95e7126 (patch) | |
tree | ae3207602f551c62ce7ef87dc605ad149578f94b /kernel/rcu | |
parent | 9622179519c52ead944c3b6a07aed9c6db3659e2 (diff) | |
download | linux-stable-51fbb910f52c8559a78665d203e55ab2b95e7126.tar.gz linux-stable-51fbb910f52c8559a78665d203e55ab2b95e7126.tar.bz2 linux-stable-51fbb910f52c8559a78665d203e55ab2b95e7126.zip |
rcu: Remove __maybe_unused from rcu_cpu_has_callbacks()
The rcu_cpu_has_callbacks() function is now used in all configurations,
so this commit removes the __maybe_unused.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 3504ee35e226..cdc4fca0c4cb 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -3315,7 +3315,7 @@ static int rcu_pending(void) * non-NULL, store an indication of whether all callbacks are lazy. * (If there are no callbacks, all of them are deemed to be lazy.) */ -static bool __maybe_unused rcu_cpu_has_callbacks(bool *all_lazy) +static bool rcu_cpu_has_callbacks(bool *all_lazy) { bool al = true; bool hc = false; |