1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00

core/device: drop unnecessary condition

This commit is contained in:
Yu Watanabe 2022-05-01 21:42:43 +09:00
parent 7353de27b7
commit f33bc87989

View File

@ -179,10 +179,7 @@ static void device_catchup(Unit *u) {
assert(d);
/* Second, let's update the state with the enumerated state if it's different */
if (d->enumerated_found == d->found)
return;
/* Second, let's update the state with the enumerated state */
device_update_found_one(d, d->enumerated_found, DEVICE_FOUND_MASK);
}