commit | ddfa83ea06680e83643978f6ecf740b60f86f7c2 | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Tue Feb 11 10:42:02 2014 +1030 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Mar 09 21:09:37 2014 +0200 |
tree | d60c44ac2cc0318b65fd9fc07ceb9d9b770a897c | |
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>