diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-01-26 16:01:26 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-11 15:31:02 -0700 |
commit | aeb9b39b8f4aac1233302c53a1fd99a73fd2c262 (patch) | |
tree | f299000c5b04d6ab907fe633d18d0f4a2b7e43b9 /kernel/ksysfs.c | |
parent | 3bedebcf63c2ad7396f1be138bbef91a402f33cd (diff) | |
download | linux-aeb9b39b8f4aac1233302c53a1fd99a73fd2c262.tar.gz linux-aeb9b39b8f4aac1233302c53a1fd99a73fd2c262.tar.bz2 linux-aeb9b39b8f4aac1233302c53a1fd99a73fd2c262.zip |
srcu: Compute snp_seq earlier in srcu_funnel_gp_start()
Currently, srcu_funnel_gp_start() tests snp->srcu_have_cbs[idx] and then
separately assigns it to the snp_seq local variable. This commit does
the assignment earlier to simplify the code a bit. While in the area,
this commit also takes advantage of the 100-character line limit to put
the call to srcu_schedule_cbs_sdp() on a single line.
Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions