diff options
| author | Tejun Heo <tj@kernel.org> | 2012-03-19 18:10:59 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2012-03-20 07:47:48 -0400 |
| commit | 2b566fa55b9a94b53217c2818e6c5e5756eeb1a1 (patch) | |
| tree | d2186ebd18062172a7b0c83e31ca834f44ecdcc0 /include/linux | |
| parent | 598971bfbdfdc8701337dc1636c7919c44699914 (diff) | |
block: remove ioc_*_changed()
After the previous patch to cfq, there's no ioc_get_changed() user
left. This patch yanks out ioc_{ioprio|cgroup|get}_changed() and all
related stuff.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iocontext.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h index 6f1a2608e91..df38db2ef45 100644 --- a/include/linux/iocontext.h +++ b/include/linux/iocontext.h | |||
| @@ -6,11 +6,7 @@ | |||
| 6 | #include <linux/workqueue.h> | 6 | #include <linux/workqueue.h> |
| 7 | 7 | ||
| 8 | enum { | 8 | enum { |
| 9 | ICQ_IOPRIO_CHANGED = 1 << 0, | ||
| 10 | ICQ_CGROUP_CHANGED = 1 << 1, | ||
| 11 | ICQ_EXITED = 1 << 2, | 9 | ICQ_EXITED = 1 << 2, |
| 12 | |||
| 13 | ICQ_CHANGED_MASK = ICQ_IOPRIO_CHANGED | ICQ_CGROUP_CHANGED, | ||
| 14 | }; | 10 | }; |
| 15 | 11 | ||
| 16 | /* | 12 | /* |
| @@ -152,9 +148,6 @@ void put_io_context_active(struct io_context *ioc); | |||
| 152 | void exit_io_context(struct task_struct *task); | 148 | void exit_io_context(struct task_struct *task); |
| 153 | struct io_context *get_task_io_context(struct task_struct *task, | 149 | struct io_context *get_task_io_context(struct task_struct *task, |
| 154 | gfp_t gfp_flags, int node); | 150 | gfp_t gfp_flags, int node); |
| 155 | void ioc_ioprio_changed(struct io_context *ioc, int ioprio); | ||
| 156 | void ioc_cgroup_changed(struct io_context *ioc); | ||
| 157 | unsigned int icq_get_changed(struct io_cq *icq); | ||
| 158 | #else | 151 | #else |
| 159 | struct io_context; | 152 | struct io_context; |
| 160 | static inline void put_io_context(struct io_context *ioc) { } | 153 | static inline void put_io_context(struct io_context *ioc) { } |
