summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/domain_info_utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index 2d29743c9..8933f5235 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -34,9 +34,6 @@ struct sss_domain_info *get_domains_head(struct sss_domain_info *domain)
/* get to the top level domain */
for (dom = domain; dom->parent != NULL; dom = dom->parent);
- /* proceed to the list head */
- for (; dom->prev != NULL; dom = dom->prev);
-
return dom;
}