Commit 718d50bf authored by Joel Fernandes (Google)'s avatar Joel Fernandes (Google) Committed by Wentao Guan
Browse files

rcu/tree: Remove superfluous return from void call_rcu* functions

mainline inclusion
from mainline-v6.7-rc1
commit 4502138acc8f4139c94ce0ec0eee926f8805fbbc
category: misc
bugzilla: https://gitee.com/openeuler/kernel/issues/IBE3AN



---------------------------

The return keyword is not needed here.

Signed-off-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
(cherry picked from commit 4502138acc8f4139c94ce0ec0eee926f8805fbbc)
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
parent 16a0cbac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2775,7 +2775,7 @@ __call_rcu_common(struct rcu_head *head, rcu_callback_t func, bool lazy_in)
 */
void call_rcu_hurry(struct rcu_head *head, rcu_callback_t func)
{
	return __call_rcu_common(head, func, false);
	__call_rcu_common(head, func, false);
}
EXPORT_SYMBOL_GPL(call_rcu_hurry);
#endif
@@ -2826,7 +2826,7 @@ EXPORT_SYMBOL_GPL(call_rcu_hurry);
 */
void call_rcu(struct rcu_head *head, rcu_callback_t func)
{
	return __call_rcu_common(head, func, IS_ENABLED(CONFIG_RCU_LAZY));
	__call_rcu_common(head, func, IS_ENABLED(CONFIG_RCU_LAZY));
}
EXPORT_SYMBOL_GPL(call_rcu);