Re: [PATCH] net: alx: remove redundant variable old_duplex
From: David Miller
Date: Wed Jul 04 2018 - 09:40:30 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 4 Jul 2018 08:15:30 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable old_duplex is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> warning: variable 'old_duplex' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.