From: Raghuram Chary J <[email protected]>
Date: Wed, 18 Apr 2018 21:27:35 +0530

> +     /* Read Device/MAC registers */
> +     for (i = 0, j = 0; i < (sizeof(lan78xx_regs) / sizeof(u32)); i++, j++)
> +             lan78xx_read_reg(dev, lan78xx_regs[i], &data[j]);

There is no need for two loop variables, both i and j increment over the
same numbers.

Reply via email to