mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
scsi: remove superfluous call to scsi_device_set_ua
Suggested by Laszlo Ersek. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user