From: Karel Zak Date: Fri, 3 Feb 2012 11:35:10 +0000 (+0100) Subject: fdisk: remove uneecessary code X-Git-Tag: v2.21-rc2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=972afe239872d9d57897568e8f2f7def401f9182;p=thirdparty%2Futil-linux.git fdisk: remove uneecessary code Signed-off-by: Karel Zak --- diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c index ce919f05e5..822f55d971 100644 --- a/fdisk/fdisksgilabel.c +++ b/fdisk/fdisksgilabel.c @@ -658,8 +658,8 @@ sgi_add_partition(int n, int sys) } if (display_in_cyl_units) first *= units_per_sector; - else - first = first; /* align to cylinder if you know how ... */ + /*else + first = first; * align to cylinder if you know how ... */ if (!last) last = isinfreelist(first); if (last == 0) { @@ -673,8 +673,8 @@ sgi_add_partition(int n, int sys) scround(first), mesg)+1; if (display_in_cyl_units) last *= units_per_sector; - else - last = last; /* align to cylinder if You know how ... */ + /*else + last = last; * align to cylinder if You know how ... */ if ((sys == SGI_VOLUME) && (first != 0 || last != sgi_get_lastblock())) printf(_("It is highly recommended that eleventh partition\n" "covers the entire disk and is of type `SGI volume'\n"));