mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
core/slice: remove redundant assertion
This commit is contained in:
@@ -24,7 +24,6 @@ static const UnitActiveState state_translation_table[_SLICE_STATE_MAX] = {
|
||||
static void slice_init(Unit *u) {
|
||||
Slice *s = ASSERT_PTR(SLICE(u));
|
||||
|
||||
assert(u);
|
||||
assert(u->load_state == UNIT_STUB);
|
||||
|
||||
u->ignore_on_isolate = true;
|
||||
|
||||
Reference in New Issue
Block a user