提交 9c3d6497 编写于 作者: T Tang Bin 提交者: Herbert Xu

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: NShengju Zhang <zhangshengju@cmss.chinamobile.com>
Signed-off-by: NTang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 97f2650e
...@@ -4724,7 +4724,6 @@ static int spu_dt_read(struct platform_device *pdev) ...@@ -4724,7 +4724,6 @@ static int spu_dt_read(struct platform_device *pdev)
spu->spu_type = matched_spu_type->type; spu->spu_type = matched_spu_type->type;
spu->spu_subtype = matched_spu_type->subtype; spu->spu_subtype = matched_spu_type->subtype;
i = 0;
for (i = 0; (i < MAX_SPUS) && ((spu_ctrl_regs = for (i = 0; (i < MAX_SPUS) && ((spu_ctrl_regs =
platform_get_resource(pdev, IORESOURCE_MEM, i)) != NULL); i++) { platform_get_resource(pdev, IORESOURCE_MEM, i)) != NULL); i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册