diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-17 20:33:17 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-13 00:39:18 +0200 |
commit | eac45e586cd38a1b56aa716560002e68741b78a7 (patch) | |
tree | ff3b2e103193a869339f50e6e922b8a6ad51eeee /kernel/rcu | |
parent | rcu: Remove "inline" from panic_on_rcu_stall() and rcu_blocking_is_gp() (diff) | |
download | linux-eac45e586cd38a1b56aa716560002e68741b78a7.tar.xz linux-eac45e586cd38a1b56aa716560002e68741b78a7.zip |
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 <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/rcutorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index 90a94fecdd73..57a4277ccc63 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 |