Re: [PATCH] sata_nv: remove redundant pointers sdev0 and sdev1
From: Tejun Heo
Date: Mon Jul 02 2018 - 10:48:27 EST
On Mon, Jul 02, 2018 at 08:30:22AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Pointers sdev0 and sdev1 are being assigned but are never used hence they
> are redundant and can be removed.
>
> Cleans up clang warnings:
> warning: variable 'sdev0' set but not used [-Wunused-but-set-variable]
> warning: variable 'sdev1' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied to libata/for-4.18-fixes.
Thanks.
--
tejun