diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2022-03-15 11:55:49 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-05-03 20:20:57 +0300 |
commit | 586e31d59c436cda65a2e8ac04ff954bed247023 (patch) | |
tree | 598e7e879cc75fd55e5c71a26c51640828be456f /scripts/gdb/linux/utils.py | |
parent | 282d8998e9979c2186af7f7d22366f2fc3149838 (diff) | |
download | linux-586e31d59c436cda65a2e8ac04ff954bed247023.tar.xz |
srcu: Drop needless initialization of sdp in srcu_gp_start()
Commit 9c7ef4c30f12 ("srcu: Make Tree SRCU able to operate without
snp_node array") initializes the local variable sdp differently depending
on the srcu's state in srcu_gp_start(). Either way, this initialization
overwrites the value used when sdp is defined.
This commit therefore drops this pointless definition-time initialization.
Although there is no functional change, compiler code generation may
be affected.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions