aboutsummaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c1
1 files changed, 0 insertions, 1 deletions
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)
988 if (!new_ptbl) 988 if (!new_ptbl)
989 return -ENOMEM; 989 return -ENOMEM;
990 990
991 INIT_RCU_HEAD(&new_ptbl->rcu_head);
992 new_ptbl->len = target; 991 new_ptbl->len = target;
993 992
994 for (i = 0; i < len; i++) 993 for (i = 0; i < len; i++)