The variable 'i' does not need to be passed, as we set it to 0 (zero)
anyways when starting the iteration here.
Suggested-by: Dan Carpenter <[email protected]>
Signed-off-by: Matthias Beyer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
UCHAR read_bk[],
PCHAR tmpbuff,
unsigned int offset,
- unsigned int partoff,
- unsigned int i)
+ unsigned int partoff)
{
+ unsigned int i;
int j;
int bulk_read_stat;
FP_FLASH_WRITE_STATUS writef =
ucReadBk,
pTempBuff,
uiOffsetFromSectStart,
- uiPartOffset,
- uiIndex)) {
+ uiPartOffset)) {
Status = STATUS_FAILURE;
goto BeceemFlashBulkWrite_EXIT;
}