wan: wanxl: remove redundant assignment to stat
authorColin Ian King <colin.king@canonical.com>
Wed, 1 Nov 2017 08:49:45 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 06:48:16 +0000 (15:48 +0900)
commit3a1246fcbcb43b33c4540d74c36119d6389a24b4
tree7f808995a3b821977869e954b47d2332e1816e8c
parented29668d1aa2c6f01e61dd616df13b5241cee7e0
wan: wanxl: remove redundant assignment to stat

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/wanxl.c