Skip to content

Commit 5e409aa

Browse files
committed
Merge branch 'io_uring-6.16' into for-next
* io_uring-6.16: io_uring/zcrx: fix pp destruction warnings
2 parents d7b8f8e + 203817d commit 5e409aa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

io_uring/zcrx.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,10 +863,7 @@ static int io_pp_zc_init(struct page_pool *pp)
863863
static void io_pp_zc_destroy(struct page_pool *pp)
864864
{
865865
struct io_zcrx_ifq *ifq = io_pp_to_ifq(pp);
866-
struct io_zcrx_area *area = ifq->area;
867866

868-
if (WARN_ON_ONCE(area->free_count != area->nia.num_niovs))
869-
return;
870867
percpu_ref_put(&ifq->ctx->refs);
871868
}
872869

0 commit comments

Comments
 (0)