summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/vinum/geom_vinum.c3
-rw-r--r--sys/geom/vinum/geom_vinum_drive.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/geom/vinum/geom_vinum.c b/sys/geom/vinum/geom_vinum.c
index 252b48f..01ccbcb 100644
--- a/sys/geom/vinum/geom_vinum.c
+++ b/sys/geom/vinum/geom_vinum.c
@@ -136,9 +136,6 @@ gv_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_trace(G_T_TOPOLOGY, "gv_taste(%s, %s)", mp->name, pp->name);
g_topology_assert();
- if (pp->sectorsize == 0)
- return (NULL);
-
/* Check if we already have a VINUM geom, or create a new one. */
if (LIST_EMPTY(&mp->geom)) {
gp = g_new_geomf(mp, "VINUM");
diff --git a/sys/geom/vinum/geom_vinum_drive.c b/sys/geom/vinum/geom_vinum_drive.c
index 9de19eb..77f5913 100644
--- a/sys/geom/vinum/geom_vinum_drive.c
+++ b/sys/geom/vinum/geom_vinum_drive.c
@@ -443,9 +443,6 @@ gv_drive_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_trace(G_T_TOPOLOGY, "gv_drive_taste(%s, %s)", mp->name, pp->name);
g_topology_assert();
- if (pp->sectorsize == 0)
- return(NULL);
-
/* Find the VINUM class and its associated geom. */
gp2 = find_vinum_geom();
if (gp2 == NULL)
OpenPOWER on IntegriCloud