Messages in this thread | | | Date | Mon, 13 Nov 2017 10:08:53 +0900 (KST) | Subject | Re: [PATCH] net: realtek: r8169: remove redundant assignment to giga_ctrl | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Wed, 8 Nov 2017 13:23:23 +0000
> From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com>
Applied, thanks Colin.
| |