diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-11 23:19:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-11 23:19:04 +0200 |
commit | 1e59887dc92e163163051e627817e1675374cd22 (patch) | |
tree | 5d5364029f749f08670e6ef272fbf6287b9780cd /src/job.c | |
parent | e51bc1a23e8f581e4fe46aa4df1bd93b7042c184 (diff) |
gc: remove a lot of unused code
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -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); |