Skip to content

Commit 52b030a

Browse files
committed
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: Paul E. McKenney <[email protected]>
1 parent 2431774 commit 52b030a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tree_nocb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,6 @@ static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_alldone,
549549
rcu_nocb_unlock_irqrestore(rdp, flags);
550550
trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("WakeNot"));
551551
}
552-
return;
553552
}
554553

555554
/*
@@ -767,6 +766,7 @@ static int rcu_nocb_gp_kthread(void *arg)
767766
static inline bool nocb_cb_can_run(struct rcu_data *rdp)
768767
{
769768
u8 flags = SEGCBLIST_OFFLOADED | SEGCBLIST_KTHREAD_CB;
769+
770770
return rcu_segcblist_test_flags(&rdp->cblist, flags);
771771
}
772772

0 commit comments

Comments
 (0)