From b03bf8f8c5ed5fe4a626707f6e9059ed81e21ece Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 23 May 2011 17:16:46 +0200 Subject: [PATCH] isl_map.c remove unused isl_set_swap_vars 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 --- isl_map.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/isl_map.c b/isl_map.c index d38b8e8b..9d0ffbf9 100644 --- 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; -- 2.11.4.GIT