diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-09-16 15:27:47 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-16 12:37:20 -0600 |
commit | c49606fc4be78da6c7a7c623566f6cf7663ba740 (patch) | |
tree | e7d03ade926cdf786d71d723702597f773cdebf8 | |
parent | d5e31db9a950f1edfa20a59e7105e9cc78135493 (diff) |
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 <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | io_uring/zcrx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/zcrx.c b/io_uring/zcrx.c index bd2fb3688432..7a46e6fc2ee7 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); |