Skip to content

Commit bd73a7f

Browse files
teobalutapaulmck
authored andcommitted
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>
1 parent 584dc4c commit bd73a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/rcu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static inline void debug_rcu_head_unqueue(struct rcu_head *head)
9696
}
9797
#endif /* #else !CONFIG_DEBUG_OBJECTS_RCU_HEAD */
9898

99-
extern void kfree(const void *);
99+
void kfree(const void *);
100100

101101
static inline bool __rcu_reclaim(const char *rn, struct rcu_head *head)
102102
{

0 commit comments

Comments
 (0)