Skip to contentSkip to conversation

fdisk: remove dead code

PATCH Applied Davidlohr Bueso 2 participants 2 messages Nov 26, 2012 – Nov 30, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 fdisk: remove dead code

---
 fdisks/fdisk.c |    9 ---------
 1 file changed, 9 deletions(-)
fdisks/fdisk.c +0 -9
index 5683307..d9e4f62 100644
@@ -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;
 }
 
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 2 lines · Davidlohr Bueso
 fdisks/fdisk.c |    9 ---------
 1 file changed, 9 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com