From: Arran Cudbard-Bell Date: Sat, 1 Feb 2020 20:21:54 +0000 (-0500) Subject: Not needed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a827903839b7235d69215ee2d022bf3dbc8bef32;p=thirdparty%2Ffreeradius-server.git Not needed --- diff --git a/src/lib/server/connection.c b/src/lib/server/connection.c index 9b62545b4f4..874dfa9335d 100644 --- a/src/lib/server/connection.c +++ b/src/lib/server/connection.c @@ -1230,18 +1230,6 @@ int fr_connection_signal_on_fd(fr_connection_t *conn, int fd) return 0; } -/** Set the handle associated with a connection - * - * Will not free the previous handle. This must be done manually. - * - * @param[in] conn to set fd for. - * @param[in] handle to set. - */ -void fr_connection_set_handle(fr_connection_t *conn, void *handle) -{ - conn->pub.h = handle; -} - /** Close a connection if it's freed * * @param[in] conn to free. diff --git a/src/lib/server/connection.h b/src/lib/server/connection.h index d037d0a3cf4..ae7dcf3faf7 100644 --- a/src/lib/server/connection.h +++ b/src/lib/server/connection.h @@ -230,12 +230,6 @@ void fr_connection_signal_halt(fr_connection_t *conn); int fr_connection_signal_on_fd(fr_connection_t *conn, int fd); /** @} */ -/** @name Modify the connection handle - * @{ - */ -void fr_connection_set_handle(fr_connection_t *conn, void *handle); -/** @} */ - /** @name Allocate a new connection * @{ */