From 3500bbe4e698637f92b6327317496f63125a360a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 30 May 2023 22:48:56 +0200 Subject: [PATCH] audiod_command: Remove dump_stat_client_list(). It is not very useful and can spam the log. --- audiod_command.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/audiod_command.c b/audiod_command.c index 743d73a9..df357c7a 100644 --- a/audiod_command.c +++ b/audiod_command.c @@ -81,13 +81,6 @@ static int num_clients; /** The list of all status items used by para_{server,audiod,gui}. */ const char *status_item_list[] = {STATUS_ITEMS}; -static void dump_stat_client_list(void) -{ - struct stat_client *sc; - - list_for_each_entry(sc, &client_list, node) - PARA_INFO_LOG("stat client on fd %d\n", sc->fd); -} /** * Add a status client to the list. * @@ -121,7 +114,6 @@ static int stat_client_add(int fd, uint64_t mask, int parser_friendly) if (parser_friendly) new_client->flags = SCF_PARSER_FRIENDLY; para_list_add(&new_client->node, &client_list); - dump_stat_client_list(); num_clients++; return 1; } @@ -180,7 +172,6 @@ void stat_client_write_item(int item_num) continue; /* write error or short write */ close_stat_client(sc); - dump_stat_client_list(); } free(pb.buf); free(pfpb.buf); -- 2.39.2