diff options
author | 2014-02-11 10:42:02 +1030 | |
---|---|---|
committer | 2014-03-09 21:09:37 +0200 | |
commit | ddfa83ea06680e83643978f6ecf740b60f86f7c2 (patch) | |
tree | d60c44ac2cc0318b65fd9fc07ceb9d9b770a897c /util/qemu-thread-posix.c | |
parent | acpi-test-data: update expected files (diff) | |
download | qemu-ddfa83ea06680e83643978f6ecf740b60f86f7c2.tar.xz qemu-ddfa83ea06680e83643978f6ecf740b60f86f7c2.zip |
virtio-net: remove function calls from assert
peer_{de,at}tach were called from inside assert().
We don't support building without NDEBUG but it's not tidy.
Rearrange to attach peer outside assert calls.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions