Re: [PATCH] drivers: net: lmc: remove redundant variable next_rx

From: David Miller
Date: Sat Jul 07 2018 - 09:08:15 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Sat, 7 Jul 2018 13:47:06 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable next_rx is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> warning: variable 'next_rx' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to net-next, thanks Colin.