Skip to content

Commit

Permalink
rcu: Remove unneeded rcu_process_callbacks() declarations
Browse files Browse the repository at this point in the history
The declarations of __rcu_process_callbacks() and rcu_process_callbacks()
are not needed, as the definition of both of these functions appear before
any uses.  This commit therefore removes both declarations.

Reported-by: "Ahmed, Iftekhar" <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
  • Loading branch information
paulmck committed Jan 23, 2017
1 parent c4402b2 commit 2535db4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/rcu/tiny.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@

/* Forward declarations for tiny_plugin.h. */
struct rcu_ctrlblk;
static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp);
static void rcu_process_callbacks(struct softirq_action *unused);
static void __call_rcu(struct rcu_head *head,
rcu_callback_t func,
struct rcu_ctrlblk *rcp);
Expand Down

0 comments on commit 2535db4

Please sign in to comment.