Re: [PATCH] wan: wanxl: remove redundant assignment to stat

From: David Miller
Date: Thu Nov 02 2017 - 02:49:57 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 1 Nov 2017 08:49:45 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> stat set to zero and the value is never read, instead stat is
> set again in the do-loop. Hence the setting to zero is redundant
> and can be removed. Cleans up clang warning:
>
> drivers/net/wan/wanxl.c:737:2: warning: Value stored to 'stat'
> is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.