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 <dan.carpenter@oracle.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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;
}