]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rcu: Remove "inline" from rcu_torture_print_module_parms()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 18:33:17 +0000 (11:33 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:18 +0000 (15:39 -0700)
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>
kernel/rcu/rcutorture.c

index 90a94fecdd734f157e761de55113d2c322167a0d..57a4277ccc63505f5a0f0b1a90595541000878f4 100644 (file)
@@ -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