Skip to content

Commit

Permalink
prov/sockets: Fix duplicate list removal
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Didelot <sdidelot@ddn.com>
  • Loading branch information
sydidelot authored and shefty committed Aug 4, 2017
1 parent 6847ce5 commit 6769444
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prov/sockets/src/sock_rx_entry.c
Expand Up @@ -72,7 +72,6 @@ struct sock_rx_entry *sock_rx_new_entry(struct sock_rx_ctx *rx_ctx)
entry = slist_remove_head(&rx_ctx->pool_list);
rx_entry = container_of(entry, struct sock_rx_entry, pool_entry);
rx_entry->rx_ctx = rx_ctx;
entry = slist_remove_head(&rx_ctx->pool_list);
} else {
rx_entry = calloc(1, sizeof(*rx_entry));
if (!rx_entry)
Expand Down

0 comments on commit 6769444

Please sign in to comment.