summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcu.h
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-11-11 17:11:24 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-12-12 12:34:17 -0800
commitbd73a7f5cd434f5aa611c9043490911c32084270 (patch)
treef2626e5f899ba540154f540947cee75cb20c37ba /kernel/rcu/rcu.h
parent584dc4ce55267765b415a8517613d1207f1741e5 (diff)
downloadlinux-bd73a7f5cd434f5aa611c9043490911c32084270.tar.gz
linux-bd73a7f5cd434f5aa611c9043490911c32084270.tar.bz2
linux-bd73a7f5cd434f5aa611c9043490911c32084270.zip
rcu: Remove "extern" from function declarations in kernel/rcu/rcu.h
Function prototypes don't need to have the "extern" keyword since this is the default behavior. Its explicit use is redundant. This commit therefore removes them. Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcu.h')
-rw-r--r--kernel/rcu/rcu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h
index a8f981a2d110..79c3877e9c5b 100644
--- a/kernel/rcu/rcu.h
+++ b/kernel/rcu/rcu.h
@@ -96,7 +96,7 @@ static inline void debug_rcu_head_unqueue(struct rcu_head *head)
}
#endif /* #else !CONFIG_DEBUG_OBJECTS_RCU_HEAD */
-extern void kfree(const void *);
+void kfree(const void *);
static inline bool __rcu_reclaim(const char *rn, struct rcu_head *head)
{