mirror of
https://github.com/akuker/RASCSI.git
synced 2025-02-03 10:31:52 +00:00
Removed TODO
This commit is contained in:
parent
ca66b6fae0
commit
4b5956ba3a
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user