Removed assertion

This commit is contained in:
Uwe Seimet 2022-02-17 23:01:59 +01:00
parent 6be197739a
commit f9ab582ddc

View File

@ -894,8 +894,6 @@ bool SCSIDEV::XferOut(bool cont)
return SASIDEV::XferOut(cont);
}
ASSERT(ctrl.phase == BUS::dataout);
PrimaryDevice *device = dynamic_cast<PrimaryDevice *>(ctrl.unit[GetEffectiveLun()]);
if (device && ctrl.cmd[0] == scsi_defs::eCmdWrite6) {
return device->WriteBytes(ctrl.buffer, scsi.bytes_to_transfer);