summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r--sys/geom/geom_disk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
index 89ce70c..3b7b239 100644
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -143,9 +143,6 @@ g_disk_start(struct bio *bp)
else if (g_haveattr_int(bp, "GEOM::fwheads",
dp->d_label.d_ntracks))
break;
- else if (g_haveattr_int(bp, "GEOM::fwcylinders",
- dp->d_label.d_ncylinders))
- break;
else if (g_haveattr_off_t(bp, "GEOM::mediasize",
dp->d_label.d_secsize * (off_t)dp->d_label.d_secperunit))
break;
OpenPOWER on IntegriCloud