mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
Removed assertion
This commit is contained in:
parent
6be197739a
commit
f9ab582ddc
@ -894,8 +894,6 @@ bool SCSIDEV::XferOut(bool cont)
|
|||||||
return SASIDEV::XferOut(cont);
|
return SASIDEV::XferOut(cont);
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(ctrl.phase == BUS::dataout);
|
|
||||||
|
|
||||||
PrimaryDevice *device = dynamic_cast<PrimaryDevice *>(ctrl.unit[GetEffectiveLun()]);
|
PrimaryDevice *device = dynamic_cast<PrimaryDevice *>(ctrl.unit[GetEffectiveLun()]);
|
||||||
if (device && ctrl.cmd[0] == scsi_defs::eCmdWrite6) {
|
if (device && ctrl.cmd[0] == scsi_defs::eCmdWrite6) {
|
||||||
return device->WriteBytes(ctrl.buffer, scsi.bytes_to_transfer);
|
return device->WriteBytes(ctrl.buffer, scsi.bytes_to_transfer);
|
||||||
|
Loading…
Reference in New Issue
Block a user