diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-14 21:54:18 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-09-19 06:24:21 +0300 |
commit | 01bb12e49b85ee99fa8445cbbc450092cd34afc9 (patch) | |
tree | 54d504883d0b8f9522925539fc19f363eb0f3ef1 /drivers/ata/libata-scsi.c | |
parent | f4ac6476945ff62939420bcf8266e39f8d5d54bd (diff) | |
download | linux-01bb12e49b85ee99fa8445cbbc450092cd34afc9.tar.xz |
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>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions