diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-11-17 11:00:44 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-01-23 11:32:29 -0800 |
commit | 2535db485cad8f302196af05888721ce82528978 (patch) | |
tree | 073c69980bdc4e621e1dc66f7c3b2ff189931d34 /kernel/rcu | |
parent | c4402b27f1778fad0dbc27b2d88bb06ca22a06f0 (diff) | |
download | op-kernel-dev-2535db485cad8f302196af05888721ce82528978.zip op-kernel-dev-2535db485cad8f302196af05888721ce82528978.tar.gz |
rcu: Remove unneeded rcu_process_callbacks() declarations
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" <ahmedi@oregonstate.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/tiny.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcu/tiny.c b/kernel/rcu/tiny.c index b23a4d0..fa6a48d 100644 --- a/kernel/rcu/tiny.c +++ b/kernel/rcu/tiny.c @@ -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); |