summaryrefslogtreecommitdiffstats
path: root/fs/partitions/check.c
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2008-02-08 12:06:21 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-02-08 12:42:01 +0100
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 950bdb4b8f5..03f808c5b79 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -330,8 +330,6 @@ void delete_partition(struct gendisk *disk, int part)
disk->part[part-1] = NULL;
p->start_sect = 0;
p->nr_sects = 0;
- p->ios[0] = p->ios[1] = 0;
- p->sectors[0] = p->sectors[1] = 0;
part_stat_set_all(p, 0);
kobject_put(p->holder_dir);
device_del(&p->dev);