Skip to content

Commit c49606f

Browse files
isilenceaxboe
authored andcommitted
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>
1 parent d5e31db commit c49606f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

io_uring/zcrx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,6 @@ static void io_close_queue(struct io_zcrx_ifq *ifq)
517517
static void io_zcrx_ifq_free(struct io_zcrx_ifq *ifq)
518518
{
519519
io_close_queue(ifq);
520-
io_zcrx_drop_netdev(ifq);
521520

522521
if (ifq->area)
523522
io_zcrx_free_area(ifq->area);

0 commit comments

Comments
 (0)