drop isl_map_implicit_equalities
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 17 Mar 2017 11:34:11 +0000 (17 12:34 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 21 Mar 2017 15:04:45 +0000 (21 16:04 +0100)
This function was introduced in 227fe61 (add isl_map_implicit_equalities,
Wed Mar 18 17:35:41 2009 +0100), but never ended up getting used.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_affine_hull.c

index a28f1e5..999f680 100644 (file)
@@ -66,25 +66,6 @@ struct isl_basic_set *isl_basic_set_implicit_equalities(
                isl_basic_map_implicit_equalities(bset_to_bmap(bset)));
 }
 
-struct isl_map *isl_map_implicit_equalities(struct isl_map *map)
-{
-       int i;
-
-       if (!map)
-               return map;
-
-       for (i = 0; i < map->n; ++i) {
-               map->p[i] = isl_basic_map_implicit_equalities(map->p[i]);
-               if (!map->p[i])
-                       goto error;
-       }
-
-       return map;
-error:
-       isl_map_free(map);
-       return NULL;
-}
-
 /* Make eq[row][col] of both bmaps equal so we can add the row
  * add the column to the common matrix.
  * Note that because of the echelon form, the columns of row row