From 4b5956ba3a80575c2d638fda32400cf53758d864 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Sun, 22 Aug 2021 23:37:12 +0200 Subject: [PATCH] Removed TODO --- src/raspberrypi/devices/scsi_host_bridge.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/raspberrypi/devices/scsi_host_bridge.cpp b/src/raspberrypi/devices/scsi_host_bridge.cpp index ba69aa57..02f498ef 100644 --- a/src/raspberrypi/devices/scsi_host_bridge.cpp +++ b/src/raspberrypi/devices/scsi_host_bridge.cpp @@ -318,9 +318,7 @@ void SCSIBR::Read10(SASIDEV *controller) ctrl->buffer = (BYTE *)malloc(ctrl->bufsize); } - // TODO Move code to subclass - ctrl->length = ((SCSIBR*)ctrl->device)->GetMessage10(ctrl->cmd, ctrl->buffer); - + ctrl->length = GetMessage10(ctrl->cmd, ctrl->buffer); if (ctrl->length <= 0) { // Failure (Error) controller->Error();