Commit 64f488fb authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

Staging: bcm: nvm.c: Don't pass the index

The variable 'i' does not need to be passed, as we set it to 0 (zero)
anyways when starting the iteration here.
Suggested-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 897a88d9
......@@ -1037,9 +1037,9 @@ static int bulk_read_complete_sector(struct bcm_mini_adapter *ad,
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 =
......@@ -1213,8 +1213,7 @@ static int BeceemFlashBulkWrite(struct bcm_mini_adapter *Adapter,
ucReadBk,
pTempBuff,
uiOffsetFromSectStart,
uiPartOffset,
uiIndex)) {
uiPartOffset)) {
Status = STATUS_FAILURE;
goto BeceemFlashBulkWrite_EXIT;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment