[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171101.212724.2093826633682146421.davem@davemloft.net>
Date: Wed, 01 Nov 2017 21:27:24 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: nicolas.ferre@...rochip.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: macb: remove redundant assignment to variable
work_done
From: Colin King <colin.king@...onical.com>
Date: Tue, 31 Oct 2017 14:23:24 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> Variable work_done is set to zero and this value is never read, instead
> it is set to another value a few statements later. Remove the redundant
> assignment. Cleans up clang warning:
>
> drivers/net/ethernet/cadence/macb_main.c:1221:2: warning: Value stored
> to 'work_done' is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists