summaryrefslogtreecommitdiff
path: root/src/job.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-11 23:19:04 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-11 23:19:04 +0200
commit1e59887dc92e163163051e627817e1675374cd22 (patch)
tree5d5364029f749f08670e6ef272fbf6287b9780cd /src/job.c
parente51bc1a23e8f581e4fe46aa4df1bd93b7042c184 (diff)
gc: remove a lot of unused code
Diffstat (limited to 'src/job.c')
-rw-r--r--src/job.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/job.c b/src/job.c
index c3b529e920..d7082153de 100644
--- a/src/job.c
+++ b/src/job.c
@@ -134,30 +134,6 @@ void job_dependency_free(JobDependency *l) {
free(l);
}
-void job_dependency_delete(Job *subject, Job *object, bool *matters) {
- JobDependency *l;
-
- assert(object);
-
- LIST_FOREACH(object, l, object->object_list) {
- assert(l->object == object);
-
- if (l->subject == subject)
- break;
- }
-
- if (!l) {
- if (matters)
- *matters = false;
- return;
- }
-
- if (matters)
- *matters = l->matters;
-
- job_dependency_free(l);
-}
-
void job_dump(Job *j, FILE*f, const char *prefix) {
assert(j);
assert(f);