summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2012-02-03 12:35:10 +0100
committerKarel Zak2012-02-03 12:35:10 +0100
commit972afe239872d9d57897568e8f2f7def401f9182 (patch)
tree51ca591b41162263f855618415e0ef835cfbfa42
parentlsblk: check stat() return code (diff)
downloadkernel-qcow2-util-linux-972afe239872d9d57897568e8f2f7def401f9182.tar.gz
kernel-qcow2-util-linux-972afe239872d9d57897568e8f2f7def401f9182.tar.xz
kernel-qcow2-util-linux-972afe239872d9d57897568e8f2f7def401f9182.zip
fdisk: remove uneecessary code
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--fdisk/fdisksgilabel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c
index ce919f05e..822f55d97 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"));