summaryrefslogtreecommitdiff
path: root/src/core/job.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-20 02:11:14 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-20 17:12:28 +0200
commite6eda1f23efab618bb26e7015230d8552b401dc6 (patch)
treeb2b777cc9ca22c079285c3a3e0d606e1e01ae22a /src/core/job.c
parent38809d9dfed4c75d9e97c4e5da2ff957723c4cad (diff)
transaction: remove the anchor link
tr->anchor_job is sufficient.
Diffstat (limited to 'src/core/job.c')
-rw-r--r--src/core/job.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/job.c b/src/core/job.c
index 18ec823ebe..aa7cdbff2a 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -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,