aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index c7ed5db2dd79..351faba48b91 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -2878,7 +2878,7 @@ static int rcu_pending(int cpu)
2878 * non-NULL, store an indication of whether all callbacks are lazy. 2878 * non-NULL, store an indication of whether all callbacks are lazy.
2879 * (If there are no callbacks, all of them are deemed to be lazy.) 2879 * (If there are no callbacks, all of them are deemed to be lazy.)
2880 */ 2880 */
2881static int rcu_cpu_has_callbacks(int cpu, bool *all_lazy) 2881static int __maybe_unused rcu_cpu_has_callbacks(int cpu, bool *all_lazy)
2882{ 2882{
2883 bool al = true; 2883 bool al = true;
2884 bool hc = false; 2884 bool hc = false;