Remove unused variable

pull/20980/head
Yash Tibrewal 5 years ago
parent 438cfa7114
commit eff1648ad7
  1. 5
      src/core/ext/transport/chttp2/transport/flow_control.h

@ -280,16 +280,12 @@ class TransportFlowControl final : public TransportFlowControlBase {
void PreUpdateAnnouncedWindowOverIncomingWindow(int64_t delta) {
if (delta > 0) {
announced_stream_total_over_incoming_window_ -= delta;
} else {
announced_stream_total_under_incoming_window_ += -delta;
}
}
void PostUpdateAnnouncedWindowOverIncomingWindow(int64_t delta) {
if (delta > 0) {
announced_stream_total_over_incoming_window_ += delta;
} else {
announced_stream_total_under_incoming_window_ -= -delta;
}
}
@ -325,7 +321,6 @@ class TransportFlowControl final : public TransportFlowControlBase {
we want to adjust incoming_window such that:
incoming_window = total_over - max(bdp - total_under, 0) */
int64_t announced_stream_total_over_incoming_window_ = 0;
int64_t announced_stream_total_under_incoming_window_ = 0;
/** should we probe bdp? */
const bool enable_bdp_probe_;

Loading…
Cancel
Save