Joel Stanley ddfa83ea06 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>
2014-03-09 21:09:37 +02:00
..
2014-01-27 15:44:06 +01:00
2013-07-29 21:07:02 +02:00
2013-11-05 19:57:46 -08:00
2013-10-31 16:58:32 +01:00
2013-11-15 13:25:39 +01:00
2013-07-29 21:07:00 +02:00