summaryrefslogtreecommitdiff
path: root/fs/partitions
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2008-02-08 14:06:21 +0300
committerJens Axboe <jens.axboe@oracle.com>2008-02-08 14:42:01 +0300
commitc3c930d93365c495fbc1df28649da7cd4b97f4af (patch)
treeca5c9efbe9b676423ace098c749425dedabd7bef /fs/partitions
parent28f39d553ee242000e62f6c589ee3dc6de3f9aaa (diff)
downloadlinux-c3c930d93365c495fbc1df28649da7cd4b97f4af.tar.xz
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')
-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)
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);