diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-17 11:33:17 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 15:39:19 -0700 |
commit | 9622179519c52ead944c3b6a07aed9c6db3659e2 (patch) | |
tree | f5bb93bcfdc6e141c1020b7206790c9c3cdf31f8 /kernel/rcu | |
parent | eac45e586cd38a1b56aa716560002e68741b78a7 (diff) | |
download | op-kernel-dev-9622179519c52ead944c3b6a07aed9c6db3659e2.zip op-kernel-dev-9622179519c52ead944c3b6a07aed9c6db3659e2.tar.gz |
rcu: Remove "inline" from rcu_perf_print_module_parms()
This function is in rcuperf.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 rcuperf 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/rcuperf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c index 00e395c..3e86940 100644 --- a/kernel/rcu/rcuperf.c +++ b/kernel/rcu/rcuperf.c @@ -536,7 +536,7 @@ retry: return 0; } -static inline void +static void rcu_perf_print_module_parms(struct rcu_perf_ops *cur_ops, const char *tag) { pr_alert("%s" PERF_FLAG |