summaryrefslogtreecommitdiffstats
path: root/fs/partitions
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
parentEnhanced partition statistics: procfs (diff)
downloadlinux-c3c930d93365c495fbc1df28649da7cd4b97f4af.tar.xz
linux-c3c930d93365c495fbc1df28649da7cd4b97f4af.zip
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);