mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06: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:
parent
cd41a671b3
commit
b5232e904f
1 changed files with 0 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue