Removed TODO

This commit is contained in:
Uwe Seimet 2021-08-22 23:37:12 +02:00
parent ca66b6fae0
commit 4b5956ba3a

View File

@ -318,9 +318,7 @@ void SCSIBR::Read10(SASIDEV *controller)
ctrl->buffer = (BYTE *)malloc(ctrl->bufsize); ctrl->buffer = (BYTE *)malloc(ctrl->bufsize);
} }
// TODO Move code to subclass ctrl->length = GetMessage10(ctrl->cmd, ctrl->buffer);
ctrl->length = ((SCSIBR*)ctrl->device)->GetMessage10(ctrl->cmd, ctrl->buffer);
if (ctrl->length <= 0) { if (ctrl->length <= 0) {
// Failure (Error) // Failure (Error)
controller->Error(); controller->Error();