Skip to content

Commit

Permalink
[DRV_MEMORY] Fix MISRA-C violations
Browse files Browse the repository at this point in the history
MH3-81177
  • Loading branch information
syamknair committed Jun 6, 2023
1 parent 691f16f commit e1dca3c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions driver/memory/sync/src/drv_memory.c.ftl
Expand Up @@ -518,9 +518,6 @@ static MEMORY_DEVICE_TRANSFER_STATUS DRV_MEMORY_HandleEraseWrite
(void)memcpy((void *)&dObj->ewBuffer[dObj->blockOffsetInSector], (const void *)bufferObj->buffer, dObj->nBlocksToWrite * dObj->writeBlockSize);

dObj->ewState = DRV_MEMORY_EW_ERASE_SECTOR;

transferStatus = MEMORY_DEVICE_TRANSFER_BUSY;

/* Fall through for Erase operation. */
}
else
Expand Down

0 comments on commit e1dca3c

Please sign in to comment.