sched: Kill old ->post_select variant.
[paraslash.git] / filter.c
index 07b78ae..7a95b1e 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -140,13 +140,7 @@ int main(int argc, char *argv[])
                        EMBRACE(.name = f->name, .parent = parent,
                        .handler = f->execute, .context = fn));
                fn->task.pre_select = f->pre_select;
-               if (f->new_post_select) {
-                       fn->task.new_post_select = f->new_post_select;
-                       fn->task.post_select = NULL;
-               } else {
-                       fn->task.new_post_select = NULL;
-                       fn->task.post_select = f->post_select;
-               }
+               fn->task.new_post_select = f->new_post_select;
                f->open(fn);
                register_task(&s, &fn->task);
                parent = fn->btrn;