From 6a1a8cc7af5741a4221e1c5bc80c41390d896ff5 Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Wed, 24 Apr 2013 10:21:22 +0200 Subject: virtio: cleanup: init and exit function. This clean the init and the exit functions and rename virtio_common_cleanup to virtio_cleanup. Signed-off-by: KONRAD Frederic Message-id: 1366791683-5350-7-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori --- hw/scsi/virtio-scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/scsi') diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 630e459b02..84b3ac795d 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -640,7 +640,7 @@ int virtio_scsi_common_exit(VirtIOSCSICommon *vs) VirtIODevice *vdev = VIRTIO_DEVICE(vs); g_free(vs->cmd_vqs); - virtio_common_cleanup(vdev); + virtio_cleanup(vdev); return 0; } -- cgit v1.2.1