We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d7b8f8e + 203817d commit 5e409aaCopy full SHA for 5e409aa
1 file changed
io_uring/zcrx.c
@@ -863,10 +863,7 @@ static int io_pp_zc_init(struct page_pool *pp)
863
static void io_pp_zc_destroy(struct page_pool *pp)
864
{
865
struct io_zcrx_ifq *ifq = io_pp_to_ifq(pp);
866
- struct io_zcrx_area *area = ifq->area;
867
868
- if (WARN_ON_ONCE(area->free_count != area->nia.num_niovs))
869
- return;
870
percpu_ref_put(&ifq->ctx->refs);
871
}
872
0 commit comments