MINOR: mux-quic: remove nb_streams from qcc

Remove nb_streams field from qcc. It was not used outside of a BUG_ON()
statement to ensure we never have a negative count of streams. However
this is already checked with other fields.

This should be backported up to 2.7.
This commit is contained in:
Amaury Denoyelle
2023-05-25 10:16:19 +02:00
parent 7b41dfd834
commit 087c5f041b
2 changed files with 0 additions and 14 deletions

View File

@@ -41,10 +41,6 @@ struct qcc {
uint64_t nb_hreq; /* number of in-progress http requests */
uint32_t flags; /* QC_CF_* */
struct {
uint64_t nb_streams; /* Number of open streams */
} strms[QCS_MAX_TYPES];
/* flow-control fields set by us enforced on our side. */
struct {
struct list frms; /* prepared frames related to flow-control */