Re: [PATCH] ata: pata_artop: remove redundant initialization of pio

From: Tejun Heo
Date: Mon Sep 18 2017 - 23:25:14 EST


On Thu, Sep 14, 2017 at 07:54:18PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> pio is initialized and the data is never read, instead it is almost
> immediately being updated to a new value. Fix this by removing the
> initialization.
>
> Detected by scan-build:
> "warning: Value stored to 'pio' during its initialization is never read"
>
> Fixes: 669a5db411d8 ("[libata] Add a bunch of PATA drivers")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to libata/for-4.15.

Thanks.

--
tejun