From: Pavel Begunkov Date: Tue, 16 Sep 2025 14:27:47 +0000 (+0100) Subject: io_uring/zcrx: remove extra io_zcrx_drop_netdev X-Git-Tag: v6.18-rc1~137^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c49606fc4be78da6c7a7c623566f6cf7663ba740;p=thirdparty%2Flinux.git 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 --- 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);