From 0cd30718780ca64f5c7ea3b424e9ae5fe6337083 Mon Sep 17 00:00:00 2001 From: Nikita Gusev Date: Sun, 28 Jul 2019 20:42:55 +0300 Subject: [PATCH] prov/rxd: Delete post_bufs tracking Since 7f8d168 when we move receive repost/remove to earlier in the pkt handling, we don't need to track post_bufs and post them immediately. Signed-off-by: Nikita Gusev --- prov/rxd/src/rxd.h | 1 - prov/rxd/src/rxd_ep.c | 1 - 2 files changed, 2 deletions(-) diff --git a/prov/rxd/src/rxd.h b/prov/rxd/src/rxd.h index ea10ad3518c..ba321d58aa2 100644 --- a/prov/rxd/src/rxd.h +++ b/prov/rxd/src/rxd.h @@ -192,7 +192,6 @@ struct rxd_ep { size_t tx_size; size_t tx_prefix_size; size_t rx_prefix_size; - uint32_t posted_bufs; size_t min_multi_recv_size; int do_local_mr; int next_retry; diff --git a/prov/rxd/src/rxd_ep.c b/prov/rxd/src/rxd_ep.c index 71ad279b381..e195e56573d 100644 --- a/prov/rxd/src/rxd_ep.c +++ b/prov/rxd/src/rxd_ep.c @@ -242,7 +242,6 @@ int rxd_ep_post_buf(struct rxd_ep *ep) return ret; } - ep->posted_bufs++; slist_insert_tail(&pkt_entry->s_entry, &ep->rx_pkt_list); return 0;