diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/partitions/check.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index 950bdb4b8f53..03f808c5b79d 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -330,8 +330,6 @@ void delete_partition(struct gendisk *disk, int part) | |||
330 | disk->part[part-1] = NULL; | 330 | disk->part[part-1] = NULL; |
331 | p->start_sect = 0; | 331 | p->start_sect = 0; |
332 | p->nr_sects = 0; | 332 | p->nr_sects = 0; |
333 | p->ios[0] = p->ios[1] = 0; | ||
334 | p->sectors[0] = p->sectors[1] = 0; | ||
335 | part_stat_set_all(p, 0); | 333 | part_stat_set_all(p, 0); |
336 | kobject_put(p->holder_dir); | 334 | kobject_put(p->holder_dir); |
337 | device_del(&p->dev); | 335 | device_del(&p->dev); |