chiark / gitweb /
transaction: remove a couple of asserts
[elogind.git] / src / core / job.c
index 18ec823ebede3d0f9db04d2c0cd55609217a340f..aa7cdbff2add4c3522c38641380d6dc95ea69521 100644 (file)
@@ -151,18 +151,6 @@ void job_dump(Job *j, FILE*f, const char *prefix) {
                 prefix, yes_no(j->override));
 }
 
-bool job_is_anchor(Job *j) {
-        JobDependency *l;
-
-        assert(j);
-
-        LIST_FOREACH(object, l, j->object_list)
-                if (!l->subject)
-                        return true;
-
-        return false;
-}
-
 /*
  * Merging is commutative, so imagine the matrix as symmetric. We store only
  * its lower triangle to avoid duplication. We don't store the main diagonal,