From 405f6027bd17595c6b0849f9aafd3e988bae0318 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup@redhat.com>
Date: Thu, 4 Aug 2011 10:43:33 +0200
Subject: [PATCH] Removed dup checks

Checking if "0 < sectors <= 63" is duplicity since the variable
sectors was assigned to head_size (which is checked for the same
condition some lines before).

---
 libparted/labels/dos.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libparted/labels/dos.c b/libparted/labels/dos.c
index 3d2dbd7..508717e 100644
--- a/libparted/labels/dos.c
+++ b/libparted/labels/dos.c
@@ -747,11 +747,6 @@ probe_partition_for_geom (const PedPartition* part, PedCHSGeometry* bios_geom)
 	if (!(heads < 256))
 		return 0;
 
-	if (!(sectors > 0))
-		return 0;
-	if (!(sectors <= 63))
-		return 0;
-
 	/* Some broken OEM partitioning program(s) seem to have an out-by-one
 	 * error on the end of partitions.  We should offer to fix the
 	 * partition table...
-- 
1.7.3.1

