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:
parent
7353de27b7
commit
f33bc87989
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user