summaryrefslogtreecommitdiffstats
path: root/fs/partitions/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions/check.c')
-rw-r--r--fs/partitions/check.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index 291e8e67d..a72e2ccbc 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -185,14 +185,6 @@ void add_gd_partition(struct gendisk *hd, int minor, int start, int size)
#endif
}
-int get_hardsect_size(kdev_t dev)
-{
- if (hardsect_size[MAJOR(dev)] != NULL)
- return hardsect_size[MAJOR(dev)][MINOR(dev)];
- else
- return 512;
-}
-
unsigned int get_ptable_blocksize(kdev_t dev)
{
int ret = 1024;