commit | 01bb12e49b85ee99fa8445cbbc450092cd34afc9 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Sep 14 19:54:18 2017 +0100 |
committer | Tejun Heo <tj@kernel.org> | Mon Sep 18 20:24:21 2017 -0700 |
tree | 54d504883d0b8f9522925539fc19f363eb0f3ef1 | |
parent | f4ac6476945ff62939420bcf8266e39f8d5d54bd [diff] |
ata: pata_artop: remove redundant initialization of pio 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@canonical.com> Signed-off-by: Tejun Heo <tj@kernel.org>