Re: [PATCH] net: realtek: r8169: remove redundant assignment to giga_ctrl

From: David Miller
Date: Sun Nov 12 2017 - 20:09:03 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 8 Nov 2017 13:23:23 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable giga_ctrl is being assigned to zero however this is
> never read and hence the assignment is redundant, so remove it.
> Cleans up clang warning:
>
> drivers/net/ethernet/realtek/r8169.c:1978:3: warning: Value stored
> to 'giga_ctrl' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks Colin.