Skip to content
Snippets Groups Projects
Commit 992070a4 authored by Avi Kivity's avatar Avi Kivity
Browse files

virtio-net: fix debug build due to missing try_lock_running()


The lock has been pushed down to a helper class and cannot be accessed here,
so remove the assert.

Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
parent 255e7865
No related branches found
No related tags found
No related merge requests found
......@@ -619,8 +619,6 @@ int net::txq::try_xmit_one_locked(net_req* req)
u16 vec_sz = 0;
u64 tx_bytes = 0;
DEBUG_ASSERT(!try_lock_running(), "RUNNING lock not taken!\n");
if (_parent->_mergeable_bufs) {
req->mhdr.num_buffers = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment