diff options
author | Kirill Afonshin <kirill_nnov@mail.ru> | 2010-01-08 22:09:59 +0300 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-01-11 14:29:20 +0100 |
commit | ce289321b7dc1eb108e3df0dec872b7429ef49f7 (patch) | |
tree | 9153bc19d805d796b7a9ddac04d2d060a9d3261e /block | |
parent | b27d7f16d3c6c27345d4280a739809c1c2c4c0b5 (diff) | |
download | op-kernel-dev-ce289321b7dc1eb108e3df0dec872b7429ef49f7.zip op-kernel-dev-ce289321b7dc1eb108e3df0dec872b7429ef49f7.tar.gz |
block: removed unused as_io_context
It isn't used anymore, since AS was deleted.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-ioc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-ioc.c b/block/blk-ioc.c index cbdabb0..98e6bf6 100644 --- a/block/blk-ioc.c +++ b/block/blk-ioc.c @@ -39,8 +39,6 @@ int put_io_context(struct io_context *ioc) if (atomic_long_dec_and_test(&ioc->refcount)) { rcu_read_lock(); - if (ioc->aic && ioc->aic->dtor) - ioc->aic->dtor(ioc->aic); cfq_dtor(ioc); rcu_read_unlock(); @@ -76,8 +74,6 @@ void exit_io_context(struct task_struct *task) task_unlock(task); if (atomic_dec_and_test(&ioc->nr_tasks)) { - if (ioc->aic && ioc->aic->exit) - ioc->aic->exit(ioc->aic); cfq_exit(ioc); } @@ -97,7 +93,6 @@ struct io_context *alloc_io_context(gfp_t gfp_flags, int node) ret->ioprio = 0; ret->last_waited = jiffies; /* doesn't matter... */ ret->nr_batch_requests = 0; /* because this is 0 */ - ret->aic = NULL; INIT_RADIX_TREE(&ret->radix_root, GFP_ATOMIC | __GFP_HIGH); INIT_HLIST_HEAD(&ret->cic_list); ret->ioc_data = NULL; |