hw/scsi/spapr_vscsi: Remove superfluous memset
authorThomas Huth <thuth@redhat.com>
Thu, 8 Oct 2015 19:35:13 +0000 (21:35 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 22 Oct 2015 23:38:11 +0000 (10:38 +1100)
commita23dec105c0faed7b9cba5d07d92df63a04dbb2e
tree15a3dbba045e26e442e201735db2c48d32c29d5e
parent185181f8835b1b68409ac4381688eafdca0172cc
hw/scsi/spapr_vscsi: Remove superfluous memset

g_malloc0 already clears the memory, so no need for
the additional memset here.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/scsi/spapr_vscsi.c