Преглед на файлове

rcu: Remove redundant return from rcu_report_exp_rnp()

Empty void functions do not need "return", so this commit removes it
from rcu_report_exp_rnp().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Thomas Gleixner преди 14 години
родител
ревизия
a0f8eefb12
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      kernel/rcutree_plugin.h

+ 0 - 1
kernel/rcutree_plugin.h

@@ -1080,7 +1080,6 @@ EXPORT_SYMBOL_GPL(synchronize_rcu_expedited);
 static void rcu_report_exp_rnp(struct rcu_state *rsp, struct rcu_node *rnp,
 			       bool wake)
 {
-	return;
 }
 
 #endif /* #ifdef CONFIG_HOTPLUG_CPU */