aboutsummaryrefslogtreecommitdiffstats
path: root/fs/partitions/check.c
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2008-02-08 06:06:21 -0500
committerJens Axboe <jens.axboe@oracle.com>2008-02-08 06:42:01 -0500
commitc3c930d93365c495fbc1df28649da7cd4b97f4af (patch)
treeca5c9efbe9b676423ace098c749425dedabd7bef /fs/partitions/check.c
parent28f39d553ee242000e62f6c589ee3dc6de3f9aaa (diff)
Enhanced partition statistics: remove old partition statistics
Removes the now unused old partition statistic code. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/partitions/check.c')
-rw-r--r--fs/partitions/check.c2
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);