[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171102.154939.1255946060288828393.davem@davemloft.net>
Date: Thu, 02 Nov 2017 15:49:39 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: khc@...waw.pl, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] wan: wanxl: remove redundant assignment to stat
From: Colin King <colin.king@...onical.com>
Date: Wed, 1 Nov 2017 08:49:45 +0000
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Applied.
Powered by blists - more mailing lists