summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/pol/ca-mb-ecn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/unicast/pol/ca-mb-ecn.c')
-rw-r--r--src/ipcpd/unicast/pol/ca-mb-ecn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ipcpd/unicast/pol/ca-mb-ecn.c b/src/ipcpd/unicast/pol/ca-mb-ecn.c
index 1791e42a..9560e211 100644
--- a/src/ipcpd/unicast/pol/ca-mb-ecn.c
+++ b/src/ipcpd/unicast/pol/ca-mb-ecn.c
@@ -62,8 +62,6 @@ struct mb_ecn_ctx {
size_t tx_mul; /* Slot size multiplier */
size_t tx_inc; /* Additive increase */
size_t tx_slot;
-
- struct timespec t_sent; /* Last sent packet */
};
struct pol_ca_ops mb_ecn_ca_ops = {
@@ -113,8 +111,6 @@ ca_wnd_t mb_ecn_ctx_update_snd(void * _ctx,
clock_gettime(PTHREAD_COND_CLOCK, &now);
- ctx->t_sent = now;
-
slot = ts_to_ns(now) >> ctx->tx_mul;
ctx->tx_ctr++;