From: Alan T. DeKok Date: Mon, 13 Jan 2025 14:57:37 +0000 (-0500) Subject: remove unused code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=364b8d470fcd612cb40085aed4e575ef27a7a8e2;p=thirdparty%2Ffreeradius-server.git remove unused code should not have been commited with fix 713622c9eaa72 --- diff --git a/src/lib/io/master.c b/src/lib/io/master.c index 0ebf774f837..1dd7bfc6c7f 100644 --- a/src/lib/io/master.c +++ b/src/lib/io/master.c @@ -2568,15 +2568,6 @@ static ssize_t mod_write(fr_listen_t *li, void *packet_ctx, fr_time_t request_ti MEM(client->ht = fr_hash_table_alloc(client, connection_hash, connection_cmp, NULL)); } else { - if (connection) { - connection->parent->radclient->active = true; - fr_assert(connection->parent->state == PR_CLIENT_PENDING); - connection->parent->state = PR_CLIENT_DYNAMIC; - - connection->parent->radclient->secret = talloc_strdup(connection->parent->radclient, - radclient->secret); - } - /* * The client has been allowed. */