]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove unused function
authorBoris VANHOOF <boris.vanhoof@softathome.com>
Tue, 23 May 2023 07:22:35 +0000 (09:22 +0200)
committerBoris VANHOOF <boris.vanhoof@softathome.com>
Tue, 23 May 2023 07:22:35 +0000 (09:22 +0200)
services/mesh.c
services/mesh.h

index bff0c03e6f043027149d36173ca7539f86268dac..d7323bf58482467baa3591e4fa0e7ac14a98c96c 100644 (file)
@@ -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)
 {
index 25121a67b3a5595ecfe762a19cf4727bd18f9e33..e4072a69c4976743bf91efc1a4c47a768f03a53e 100644 (file)
@@ -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.