X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=unit.c;h=30ffd9631182d60fb7f2fd331426f8f0329147c6;hb=9ea9a0c85c427397e1f1f4bb1f4d3192aab5987e;hp=7d570056b4a41da04bf1b335364a92de9baf6ac0;hpb=80876c20f64f87765242bc35895977ab6a855729;p=elogind.git diff --git a/unit.c b/unit.c index 7d570056b..30ffd9631 100644 --- a/unit.c +++ b/unit.c @@ -850,8 +850,6 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) { assert(u); assert(os < _UNIT_ACTIVE_STATE_MAX); assert(ns < _UNIT_ACTIVE_STATE_MAX); - assert(!(os == UNIT_ACTIVE && ns == UNIT_ACTIVATING)); - assert(!(os == UNIT_INACTIVE && ns == UNIT_DEACTIVATING)); /* Note that this is called for all low-level state changes, * even if they might map to the same high-level