Skip to content

Commit

Permalink
rcu: Remove "inline" from rcu_torture_print_module_parms()
Browse files Browse the repository at this point in the history
This function is in rcutorture.c, which is not an include file, so there
is no problem dropping the "inline", especially given that this function
is invoked only twice per rcutorture run.  This commit therefore delegates
the inlining decision to the compiler by dropping the "inline".

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
  • Loading branch information
paulmck committed Jul 12, 2018
1 parent 95394e6 commit eac45e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/rcu/rcutorture.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ rcu_torture_stats(void *arg)
return 0;
}

static inline void
static void
rcu_torture_print_module_parms(struct rcu_torture_ops *cur_ops, const char *tag)
{
pr_alert("%s" TORTURE_FLAG
Expand Down

0 comments on commit eac45e5

Please sign in to comment.