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>pull/1354/merge
parent
d5e31db9a9
commit
c49606fc4b
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue