From c49606fc4be78da6c7a7c623566f6cf7663ba740 Mon Sep 17 00:00:00 2001 From: Pavel Begunkov Date: Tue, 16 Sep 2025 15:27:47 +0100 Subject: [PATCH] io_uring/zcrx: remove extra io_zcrx_drop_netdev io_close_queue() already detaches the netdev, don't unnecessary call io_zcrx_drop_netdev() right after. Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe --- io_uring/zcrx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/io_uring/zcrx.c b/io_uring/zcrx.c index bd2fb3688432c..7a46e6fc2ee7c 100644 --- a/io_uring/zcrx.c +++ b/io_uring/zcrx.c @@ -517,7 +517,6 @@ static void io_close_queue(struct io_zcrx_ifq *ifq) static void io_zcrx_ifq_free(struct io_zcrx_ifq *ifq) { io_close_queue(ifq); - io_zcrx_drop_netdev(ifq); if (ifq->area) io_zcrx_free_area(ifq->area); -- 2.47.3