Skip to content

Commit 4778339

Browse files
laijspaulmckrcu
authored andcommitted
rcu: Remove the declaration of call_rcu() in tree.h
The call_rcu() function is an external RCU API that is declared in include/linux/rcupdate.h. There is thus no point in redeclaring it in kernel/rcu/tree.h, so this commit removes that redundant declaration. Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 2488a5e commit 4778339

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/rcu/tree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ static bool rcu_preempt_has_tasks(struct rcu_node *rnp);
413413
static int rcu_print_task_exp_stall(struct rcu_node *rnp);
414414
static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp);
415415
static void rcu_flavor_sched_clock_irq(int user);
416-
void call_rcu(struct rcu_head *head, rcu_callback_t func);
417416
static void dump_blkd_tasks(struct rcu_node *rnp, int ncheck);
418417
static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags);
419418
static void rcu_preempt_boost_start_gp(struct rcu_node *rnp);

0 commit comments

Comments
 (0)