]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Remove superfluous error check 12647/head
authorChris Down <chris@chrisdown.name>
Wed, 22 May 2019 19:26:20 +0000 (15:26 -0400)
committerChris Down <chris@chrisdown.name>
Wed, 22 May 2019 19:27:26 +0000 (15:27 -0400)
This is already checked above before we set any manager attributes,
immediately after manager_new().

src/test/test-cgroup-mask.c

index 7f6c0c27722195cdead667ee13005fd13bc764b2..72a6551ffd8fd42aef4615a85364dab3bfd01a8d 100644 (file)
@@ -59,7 +59,6 @@ static int test_cgroup_mask(void) {
                 m->default_tasks_accounting = false;
         m->default_tasks_max = (uint64_t) -1;
 
-        assert_se(r >= 0);
         assert_se(manager_startup(m, NULL, NULL) >= 0);
 
         /* Load units and verify hierarchy. */