Re: [PATCH] ata: sata_mv: remove a redundant assignment to pointer ehi

From: Tejun Heo
Date: Sat Oct 21 2017 - 12:26:08 EST


On Mon, Oct 16, 2017 at 12:00:11PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pointer ehi is being assigned to a value that is never read
> and is redundant. Clean up the code and move the ehi declaration
> and initialization to the code block where it is used. Cleans up
> clang warning: Value stored to 'ehi' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to libata/for-4.15.

Thanks.

--
tejun