virtio: Fix compiler warning for non Linux hosts
commit47ce9ef7f89032c4079bf5132a12d1bfd4d5bca5
authorStefan Weil <sw@weilnetz.de>
Tue, 22 May 2012 21:23:32 +0000 (22 23:23 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 May 2012 07:49:49 +0000 (30 09:49 +0200)
treee62646305d764cddd5d38eff9233ac0904a265dd
parente78bd5ab07d65fec77fcae468b2836c79a836d49
virtio: Fix compiler warning for non Linux hosts

The local variables ret, i are only used if __linux__ is defined.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/virtio-blk.c