]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: remove dead code
authorDavidlohr Bueso <dave@gnu.org>
Mon, 26 Nov 2012 04:29:12 +0000 (20:29 -0800)
committerKarel Zak <kzak@redhat.com>
Fri, 30 Nov 2012 12:48:24 +0000 (13:48 +0100)
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
fdisks/fdisk.c

index 5683307b3df76328fe4886acd673382512c05b03..d9e4f62d062c4e8885012df28c648c7efcceca75 100644 (file)
@@ -352,15 +352,6 @@ sector_t align_lba(struct fdisk_context *cxt, sector_t lba, int direction)
                }
        }
 
-       /***
-        fprintf(stderr, "LBA %llu (%s) --align-(%s)--> %llu (%s)\n",
-                               lba,
-                               lba_is_aligned(lba) ? "OK" : "FALSE",
-                               direction == ALIGN_UP ?   "UP     " :
-                               direction == ALIGN_DOWN ? "DOWN   " : "NEAREST",
-                               res,
-                               lba_is_aligned(res) ? "OK" : "FALSE");
-       ***/
        return res;
 }