Thread (2 messages) 2 messages, 2 authors, 2017-09-19

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

From: Tejun Heo <tj@kernel.org>
Date: 2017-09-19 03:24:58
Also in: kernel-janitors, lkml

On Thu, Sep 14, 2017 at 07:54:18PM +0100, Colin King wrote:
From: Colin Ian King <redacted>

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 <redacted>
Applied to libata/for-4.15.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help