isl_map.c remove unused isl_set_swap_vars
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 23 May 2011 15:16:46 +0000 (17:16 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 25 May 2011 12:09:00 +0000 (14:09 +0200)
It was introduced (but already unused) in the initial commit and was made
private in 90862d1 (add private isl_basic_map_swap_vars,
Wed Mar 9 10:33:55 2011 +0100).

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

index d38b8e8..9d0ffbf 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -1278,25 +1278,6 @@ error:
        return NULL;
 }
 
-static __isl_give isl_set *isl_set_swap_vars(__isl_take isl_set *set,
-       unsigned n)
-{
-       int i;
-       set = isl_set_cow(set);
-       if (!set)
-               return NULL;
-
-       for (i = 0; i < set->n; ++i) {
-               set->p[i] = isl_basic_set_swap_vars(set->p[i], n);
-               if (!set->p[i]) {
-                       isl_set_free(set);
-                       return NULL;
-               }
-       }
-       ISL_F_CLR(set, ISL_SET_NORMALIZED);
-       return set;
-}
-
 struct isl_basic_map *isl_basic_map_set_to_empty(struct isl_basic_map *bmap)
 {
        int i = 0;