From bd727a688483e2c49de9fea91781ad75f1660c0f Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Tue, 8 Mar 2011 22:01:47 +0000 Subject: [PATCH] It is better to sometimes have not aligned columns than often have wrapped lines. MFC after: 2 weeks --- sbin/geom/class/part/geom_part.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sbin/geom/class/part/geom_part.c b/sbin/geom/class/part/geom_part.c index a3029341c41a..8593d20891c0 100644 --- a/sbin/geom/class/part/geom_part.c +++ b/sbin/geom/class/part/geom_part.c @@ -568,12 +568,6 @@ gpart_show_geom(struct ggeom *gp, const char *element, int show_providers) if (wname > wmax) wmax = wname; } - } else { - /* In some cases width of index can be greater than - * length of provider's name. - */ - if (wblocks > wmax) - wmax = wblocks; } wname = wmax; pp = LIST_FIRST(&gp->lg_consumer)->lg_provider;