From: Boris VANHOOF Date: Tue, 23 May 2023 07:22:35 +0000 (+0200) Subject: remove unused function X-Git-Tag: release-1.18.0rc1~24^2~2^2~2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62d54d8091263b4dc24c9c3715bc7a0a52e24e92;p=thirdparty%2Funbound.git remove unused function --- diff --git a/services/mesh.c b/services/mesh.c index bff0c03e6..d7323bf58 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -891,12 +891,6 @@ mesh_state_create(struct module_env* env, struct query_info* qinfo, return mstate; } -int -mesh_state_is_unique(struct mesh_state* mstate) -{ - return mstate->unique != NULL; -} - void mesh_state_make_unique(struct mesh_state* mstate) { diff --git a/services/mesh.h b/services/mesh.h index 25121a67b..e4072a69c 100644 --- a/services/mesh.h +++ b/services/mesh.h @@ -478,14 +478,6 @@ struct mesh_state* mesh_state_create(struct module_env* env, struct query_info* qinfo, struct respip_client_info* cinfo, uint16_t qflags, int prime, int valrec); -/** - * Check if the mesh state is unique. - * A unique mesh state uses it's unique member to point to itself, else NULL. - * @param mstate: mesh state to check. - * @return true if the mesh state is unique, false otherwise. - */ -int mesh_state_is_unique(struct mesh_state* mstate); - /** * Make a mesh state unique. * A unique mesh state uses it's unique member to point to itself.