Commit Diff


commit - 4902ad0698f3a6e396d026278d9bdd8efe734691
commit + 3f9ddef4a0a63e2a10064e126044343e16ce4a54
blob - bc9f517e1c8b2bace5fef04958eec245d8a0dc1a
blob + ec2b18df206a2e778d1b1d7fa9417861adcdca45
--- kamid/listener.c
+++ kamid/listener.c
@@ -256,19 +256,7 @@ listener_receive_config(struct imsg *imsg, struct kd_c
 		apply_config(*nconf);
 		*nconf = NULL;
 		break;
-	}
-}
-
-static inline struct kd_listen_conf *
-listen_by_id(uint32_t id)
-{
-	struct kd_listen_conf *l;
-
-	STAILQ_FOREACH(l, &listener_conf->listen_head, entry) {
-		if (l->id == id)
-			return l;
 	}
-	return NULL;
 }
 
 void