Messages in this thread | | | Date | Thu, 02 Nov 2017 15:49:39 +0900 (KST) | Subject | Re: [PATCH] wan: wanxl: remove redundant assignment to stat | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Wed, 1 Nov 2017 08:49:45 +0000
> From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com>
Applied.
| |