rcu/sync: remove un-used rcu_sync_enter_start function
authorOnkarnath <onkarnath.1@samsung.com>
Thu, 11 Jan 2024 09:27:22 +0000 (14:57 +0530)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 14 Feb 2024 16:00:57 +0000 (08:00 -0800)
commitc90e3ecc91584558d24c82940a3651fdfc174be0
tree911f48610e7b6e9f20298f9937f30c9a712fc64d
parentfd2a749d3f4f7ff0129af1a2c2685faca407ea54
rcu/sync: remove un-used rcu_sync_enter_start function

With commit '6a010a49b63a ("cgroup: Make !percpu threadgroup_rwsem
operations optional")' usage of rcu_sync_enter_start is removed.

So this function can also be removed.

In the words of Oleg Nesterov:

__rcu_sync_enter(wait => false) is a better alternative if
someone needs rcu_sync_enter_start() again.

Link: https://lore.kernel.org/all/20220725121208.GB28662@redhat.com/
Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
include/linux/rcu_sync.h
kernel/rcu/sync.c