diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-19 02:27:30 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 14:01:02 -0400 |
commit | f1ac2502e19c59e996242d406fcc60e4c563e8ce (patch) | |
tree | 0db91a25c4b754f8c03960cc308715200a974efc /block/cfq-iosched.c | |
parent | 6423104b6a1e6f0c18be60e8c33f02d263331d5e (diff) |
block: remove all rcu head initializations
Remove all rcu head inits. We don't care about the RCU head state before passing
it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can
keep track of objects on stack.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 0f3eb70f9ce1..b1472bc2d49c 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -3788,7 +3788,6 @@ static void *cfq_init_queue(struct request_queue *q) | |||
3788 | * second, in order to have larger depth for async operations. | 3788 | * second, in order to have larger depth for async operations. |
3789 | */ | 3789 | */ |
3790 | cfqd->last_delayed_sync = jiffies - HZ; | 3790 | cfqd->last_delayed_sync = jiffies - HZ; |
3791 | INIT_RCU_HEAD(&cfqd->rcu); | ||
3792 | return cfqd; | 3791 | return cfqd; |
3793 | } | 3792 | } |
3794 | 3793 | ||