diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-08 16:46:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-12 15:00:27 +0100 |
commit | b5232e904fadac8af239306719be4a554f9e9263 (patch) | |
tree | d0d3d3ee786cf91fe21ecc17d31f81f1709f53d4 /hw/scsi-disk.c | |
parent | cd41a671b370a3dd603963432d2b02f1e5990fb7 (diff) |
scsi: remove superfluous call to scsi_device_set_ua
Suggested by Laszlo Ersek.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
-rw-r--r-- | hw/scsi-disk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 098558d372..d15f891974 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -1964,7 +1964,6 @@ static void scsi_disk_resize_cb(void *opaque) * direct-access devices. */ if (s->qdev.type == TYPE_DISK) { - scsi_device_set_ua(&s->qdev, SENSE_CODE(CAPACITY_CHANGED)); scsi_device_report_change(&s->qdev, SENSE_CODE(CAPACITY_CHANGED)); } } |