summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/cfq-iosched.c1
-rw-r--r--block/genhd.c1
2 files changed, 0 insertions, 2 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)
* second, in order to have larger depth for async operations.
*/
cfqd->last_delayed_sync = jiffies - HZ;
- INIT_RCU_HEAD(&cfqd->rcu);
return cfqd;
}
diff --git a/block/genhd.c b/block/genhd.c
index 154b5f80b3ab..59a2db6fecef 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -988,7 +988,6 @@ int disk_expand_part_tbl(struct gendisk *disk, int partno)
if (!new_ptbl)
return -ENOMEM;
- INIT_RCU_HEAD(&new_ptbl->rcu_head);
new_ptbl->len = target;
for (i = 0; i < len; i++)