Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cholonam committed Jul 19, 2020
1 parent 375d91f commit 42731bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sinetek-rtsx/SDDisk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,9 @@ IOReturn SDDisk::reportMaxValidBlock(UInt64 *maxBlock)
// IOBlockStorageDriver only calls this method once during handleStart, and *mediaPresent has to be true
IOReturn SDDisk::reportMediaState(bool *mediaPresent, bool *changedState)
{
UTL_LOG("START");
UTL_DEBUG_FUN("START");
*mediaPresent = true;
*changedState = false;

return kIOReturnSuccess;
}

Expand Down Expand Up @@ -471,7 +470,6 @@ IOReturn SDDisk::doAsyncReadWrite(IOMemoryDescriptor *buffer,
bioargs->completion = *completion;
bioargs->that = this;

UTL_DEBUG_DEF("Allocating read task...");
auto newTask = UTL_MALLOC(sdmmc_task); // will be deleted after processed
if (!newTask) return kIOReturnNoMemory;
sdmmc_init_task(newTask, read_task_impl_, bioargs);
Expand Down

0 comments on commit 42731bc

Please # to comment.