Re: [PATCH -next v2 2/2] net: tc35815: Drop unused variable
From: David Miller
Date: Sun Jan 10 2016 - 23:31:53 EST
From: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Sun, 10 Jan 2016 07:10:45 -0800
> Commit e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
> removes some code from tc_mii_init(), but does not remove a now unused
> variable. This results in the following build warning.
>
> drivers/net/ethernet/toshiba/tc35815.c: In function 'tc_mii_init':
> drivers/net/ethernet/toshiba/tc35815.c:670:6: warning: unused variable 'i'
>
> Fixes: e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
> Cc: Andrew Lunn <andrew@xxxxxxx>
> Acked-by: Andrew Lunn <andrew@xxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Applied.