CLEANUP: quic: No more used handshake output buffer

->obuf quic_conn struct member is no more used.
This commit is contained in:
Frédéric Lécaille 2022-05-21 22:36:08 +02:00 committed by Amaury Denoyelle
parent 56f61b663b
commit 57ac3faed7
2 changed files with 0 additions and 8 deletions

View File

@ -727,11 +727,6 @@ struct quic_conn {
/* Used only to reach the tasklet for the I/O handler from this quic_conn object. */
struct connection *conn;
/* Output buffer used during the handshakes. */
struct {
unsigned char data[QUIC_PACKET_MAXLEN];
unsigned char *pos;
} obuf;
struct {
/* The remaining frames to send. */

View File

@ -4327,9 +4327,6 @@ static struct quic_conn *qc_new_conn(unsigned int version, int ipv4,
}
qc->mux_state = QC_MUX_NULL;
/* Initialize the output buffer */
qc->obuf.pos = qc->obuf.data;
icid = new_quic_cid(&qc->cids, qc, 0);
if (!icid) {
TRACE_PROTO("Could not allocate a new connection ID", QUIC_EV_CONN_INIT, qc);