[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170919032452.GN378890@devbig577.frc2.facebook.com>
Date: Mon, 18 Sep 2017 20:24:52 -0700
From: Tejun Heo <tj@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
linux-ide@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ata: pata_artop: remove redundant initialization of pio
On Thu, Sep 14, 2017 at 07:54:18PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Applied to libata/for-4.15.
Thanks.
--
tejun
Powered by blists - more mailing lists