diff options
author | Joel Stanley <joel@jms.id.au> | 2014-02-11 10:42:02 +1030 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-03-09 21:09:37 +0200 |
commit | ddfa83ea06680e83643978f6ecf740b60f86f7c2 (patch) | |
tree | d60c44ac2cc0318b65fd9fc07ceb9d9b770a897c /memory.c | |
parent | 6cb46e1e900a05dea1734a6cbe81c0c1ecb2f2cb (diff) |
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 'memory.c')
0 files changed, 0 insertions, 0 deletions