Commit 52b030aa authored by Paul E. McKenney's avatar Paul E. McKenney

rcu-nocb: Fix a couple of tree_nocb code-style nits

This commit removes a non-value-returning "return" statement at the end
of __call_rcu_nocb_wake() and adds a blank line following declarations
in nocb_cb_can_run().
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 2431774f
...@@ -549,7 +549,6 @@ static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_alldone, ...@@ -549,7 +549,6 @@ static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_alldone,
rcu_nocb_unlock_irqrestore(rdp, flags); rcu_nocb_unlock_irqrestore(rdp, flags);
trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("WakeNot")); trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("WakeNot"));
} }
return;
} }
/* /*
...@@ -767,6 +766,7 @@ static int rcu_nocb_gp_kthread(void *arg) ...@@ -767,6 +766,7 @@ static int rcu_nocb_gp_kthread(void *arg)
static inline bool nocb_cb_can_run(struct rcu_data *rdp) static inline bool nocb_cb_can_run(struct rcu_data *rdp)
{ {
u8 flags = SEGCBLIST_OFFLOADED | SEGCBLIST_KTHREAD_CB; u8 flags = SEGCBLIST_OFFLOADED | SEGCBLIST_KTHREAD_CB;
return rcu_segcblist_test_flags(&rdp->cblist, flags); return rcu_segcblist_test_flags(&rdp->cblist, flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment