From: Paul E. McKenney Date: Thu, 17 May 2018 18:33:17 +0000 (-0700) Subject: rcu: Remove "inline" from rcu_torture_print_module_parms() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eac45e586cd38a1b56aa716560002e68741b78a7;p=linux.git rcu: Remove "inline" from rcu_torture_print_module_parms() 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 --- diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index 90a94fecdd734..57a4277ccc635 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -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