Hello,

Remove obsolete zr_get_rbt() function from zone register.

--
Petr^2 Spacek
From a7e3b8d832b195efa330cd7781a2b3fb94ee72c7 Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Mon, 11 Nov 2013 10:48:11 +0100
Subject: [PATCH] Remove obsolete zr_get_rbt() function from zone register.

Signed-off-by: Petr Spacek <pspa...@redhat.com>
---
 src/zone_register.c | 6 ------
 src/zone_register.h | 3 ---
 2 files changed, 9 deletions(-)

diff --git a/src/zone_register.c b/src/zone_register.c
index ec4a9fb9d94cfcdc7cc81a0a63c056e4f6161581..a7d55c8d34bbef210c0ec676cd9a9635e8dfef71 100644
--- a/src/zone_register.c
+++ b/src/zone_register.c
@@ -98,12 +98,6 @@ zr_rbt_iter_init(zone_register_t *zr, rbt_iterator_t **iter,
 	return rbt_iter_first(zr->mctx, zr->rbt, &zr->rwlock, iter, nodename);
 }
 
-dns_rbt_t *
-zr_get_rbt(zone_register_t *zr)
-{
-	return zr->rbt;
-}
-
 isc_mem_t *
 zr_get_mctx(zone_register_t *zr) {
 	REQUIRE(zr);
diff --git a/src/zone_register.h b/src/zone_register.h
index 9d4bee0f8c92dd286b4c9db1bcac820c2aaa99d2..6ff184dc2935952f1d568d0694a6ebc874fda49e 100644
--- a/src/zone_register.h
+++ b/src/zone_register.h
@@ -63,9 +63,6 @@ isc_result_t
 zr_rbt_iter_init(zone_register_t *zr, rbt_iterator_t **iter,
 		 dns_name_t *nodename) ATTR_NONNULLS;
 
-dns_rbt_t *
-zr_get_rbt(zone_register_t *zr) ATTR_NONNULLS;
-
 isc_mem_t *
 zr_get_mctx(zone_register_t *zr) ATTR_NONNULLS;
 
-- 
1.8.3.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to