瀏覽代碼

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 13 年之前
父節點
當前提交
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 */