From 972afe239872d9d57897568e8f2f7def401f9182 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 3 Feb 2012 12:35:10 +0100 Subject: [PATCH] fdisk: remove uneecessary code Signed-off-by: Karel Zak --- fdisk/fdisksgilabel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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")); -- 2.47.3