]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/transaction: drop redundant call of bus_unit_validate_load_state()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 May 2025 19:32:09 +0000 (04:32 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 May 2025 20:37:34 +0000 (05:37 +0900)
commit7ad2e660802be989d8ae8d0166c4fe1b7be0eb21
treea43f43b85916d773f63e4861ec5a2a111035b3e7
parentfe51a6147779e10833273b141c960163c5f6cea2
core/transaction: drop redundant call of bus_unit_validate_load_state()

The function manager_unit_cache_should_retry_load() reutrns true only
when the unit state is UNIT_NOT_FOUND. Hence, it is not necessary to
call bus_unit_validate_load_state() before checking
manager_unit_cache_should_retry_load().
src/core/transaction.c