chan_sip: Remove unused sip_socket->port.

12 years ago, with ASTERISK_12115 the last four get/uses of socket.port
vanished. However, the struct member itself and all seven set/uses
remained as dead code.

ASTERISK-28798

Change-Id: Ib90516a49eca3d724a70191278aaf2144fb58c59
This commit is contained in:
Alexander Traud
2020-11-04 14:39:10 +01:00
committed by Kevin Harwell
parent 8cb439f7e4
commit 103d7da3bb
2 changed files with 4 additions and 24 deletions

View File

@@ -790,7 +790,7 @@ struct ast_websocket;
struct sip_socket {
enum ast_transport type; /*!< UDP, TCP or TLS */
int fd; /*!< Filed descriptor, the actual socket */
uint16_t port;
uint16_t unused; /* since 1.6.2, retained not to change order/size of struct */
struct ast_tcptls_session_instance *tcptls_session; /* If tcp or tls, a socket manager */
struct ast_websocket *ws_session; /*! If ws or wss, a WebSocket session */
};