CLEAUNUP: quic: Usage of a useless variable in qc_treat_rx_pkts()
The usage of a <drop> variable is unnecessary here.
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index 0337558..cb00c02 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -2468,13 +2468,7 @@
QUIC_EV_CONN_ELRXPKTS, ctx->conn, pkt);
}
else {
- int drop;
-
- drop = 0;
- if (!qc_parse_pkt_frms(pkt, ctx, el))
- drop = 1;
-
- if (drop) {
+ if (!qc_parse_pkt_frms(pkt, ctx, el)) {
/* Drop the packet */
TRACE_PROTO("packet parsing failed -> dropped",
QUIC_EV_CONN_ELRXPKTS, ctx->conn, pkt);