[parted-devel] [PATCH 5/8] parted: remove obsolete comments

Petr Uzel petr.uzel at suse.cz
Wed Sep 28 08:45:06 UTC 2011


is_start_exact and is_end_exact were removed from the source.

* parted/parted.c (constraint_from_start_end): Remove obsolete
documentation of the function.

Signed-off-by: Petr Uzel <petr.uzel at suse.cz>
---
 parted/parted.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/parted/parted.c b/parted/parted.c
index 32c2fcc..fa62cc4 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -425,13 +425,6 @@ snap_to_boundaries (PedGeometry* new_geom, PedGeometry* old_geom,
         ped_geometry_set (new_geom, start, end - start + 1);
 }
 
-/* This functions constructs a constraint from the following information:
- *      start, is_start_exact, end, is_end_exact.
- *
- * If is_start_exact == 1, then the constraint requires start be as given in
- * "start".  Otherwise, the constraint does not set any requirements on the
- * start.
- */
 static PedConstraint*
 constraint_from_start_end (PedDevice* dev, PedGeometry* range_start,
                            PedGeometry* range_end)
-- 
1.7.3.4




More information about the parted-devel mailing list