The one and only call site of run_pmc_events() has been eliminated. Remove the unused code.
Signed-off-by: Richard Cochran <richardcoch...@gmail.com> --- pmc_agent.c | 7 ------- pmc_agent.h | 1 - 2 files changed, 8 deletions(-) diff --git a/pmc_agent.c b/pmc_agent.c index 6e6627d..8d00e64 100644 --- a/pmc_agent.c +++ b/pmc_agent.c @@ -229,13 +229,6 @@ int run_pmc_wait_sync(struct pmc_agent *node, int timeout) } } -void run_pmc_events(struct pmc_agent *node) -{ - struct ptp_message *msg; - - run_pmc(node, 0, -1, &msg); -} - int init_pmc_node(struct config *cfg, struct pmc_agent *node, const char *uds, pmc_node_recv_subscribed_t *recv_subscribed, void *context) { diff --git a/pmc_agent.h b/pmc_agent.h index dd34d30..11b9347 100644 --- a/pmc_agent.h +++ b/pmc_agent.h @@ -34,7 +34,6 @@ typedef int pmc_node_recv_subscribed_t(void *context, struct ptp_message *msg, int init_pmc_node(struct config *cfg, struct pmc_agent *agent, const char *uds, pmc_node_recv_subscribed_t *recv_subscribed, void *context); int run_pmc_wait_sync(struct pmc_agent *agent, int timeout); -void run_pmc_events(struct pmc_agent *agent); /** * Creates an instance of a PMC agent. -- 2.20.1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel