Commit 9c3d6497 authored by Tang Bin's avatar Tang Bin Committed by Herbert Xu
Browse files

crypto: bcm - Delete redundant variable definition



The variable "i" is redundant to be assigned a value
of zero,because it's assigned in the for loop, so remove
redundant one here.

Signed-off-by: default avatarShengju Zhang <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 97f2650e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4724,7 +4724,6 @@ static int spu_dt_read(struct platform_device *pdev)
	spu->spu_type = matched_spu_type->type;
	spu->spu_subtype = matched_spu_type->subtype;

	i = 0;
	for (i = 0; (i < MAX_SPUS) && ((spu_ctrl_regs =
		platform_get_resource(pdev, IORESOURCE_MEM, i)) != NULL); i++) {