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-02-24 10:42:09 +01:00
2014-02-25 10:50:11 +00:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-02-14 16:22:32 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:32 +01:00
2014-02-14 16:22:31 +01:00
2014-02-27 11:31:52 +00:00
2014-03-05 03:06:46 +01:00
2014-03-07 16:36:38 +00:00
2013-09-03 12:31:07 -05:00
2013-07-29 21:07:01 +02:00
2013-08-22 19:10:27 +02:00
2014-02-20 15:25:05 +00:00