public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@gnu.org>
To: Karel Zak <kzak@redhat.com>, Petr Uzel <petr.uzel@suse.cz>
Cc: util-linux <util-linux@vger.kernel.org>
Subject: [PATCH 2/3] fdisk: remove dead code
Date: Sun, 25 Nov 2012 20:29:12 -0800	[thread overview]
Message-ID: <1353904152.2945.17.camel@offbook> (raw)

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 fdisks/fdisk.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
index 5683307..d9e4f62 100644
--- a/fdisks/fdisk.c
+++ b/fdisks/fdisk.c
@@ -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;
 }
 
-- 
1.7.9.5

             reply	other threads:[~2012-11-26  4:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26  4:29 Davidlohr Bueso [this message]
2012-11-30 12:50 ` [PATCH 2/3] fdisk: remove dead code Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1353904152.2945.17.camel@offbook \
    --to=dave@gnu.org \
    --cc=kzak@redhat.com \
    --cc=petr.uzel@suse.cz \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox