summaryrefslogtreecommitdiff
path: root/include/linux/elevator.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-12-13 23:33:39 (GMT)
committerJens Axboe <axboe@kernel.dk>2011-12-13 23:33:39 (GMT)
commitb9a1920837bc53430d339380e393a6e4c372939f (patch)
treee3f7b8389fe58ebf88381ad404ad408cef9792c2 /include/linux/elevator.h
parentb2efa05265d62bc29f3a64400fad4b44340eedb8 (diff)
downloadlinux-fsl-qoriq-b9a1920837bc53430d339380e393a6e4c372939f.tar.xz
block, cfq: remove delayed unlink
Now that all cic's are immediately unlinked from both ioc and queue, lazy dropping from lookup path and trimming on elevator unregister are unnecessary. Kill them and remove now unused elevator_ops->trim(). This also leaves call_for_each_cic() without any user. Removed. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r--include/linux/elevator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h
index 1d0f7a2..581dd1b 100644
--- a/include/linux/elevator.h
+++ b/include/linux/elevator.h
@@ -63,7 +63,6 @@ struct elevator_ops
elevator_init_fn *elevator_init_fn;
elevator_exit_fn *elevator_exit_fn;
- void (*trim)(struct io_context *);
};
#define ELV_NAME_MAX (16)