]> git.baikalelectronics.ru Git - kernel.git/commit
ata: ahci-imx: remove redundant assignment to ret
authorColin Ian King <colin.king@canonical.com>
Sun, 5 Apr 2020 11:51:20 +0000 (12:51 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Apr 2020 20:49:45 +0000 (14:49 -0600)
commit71636c281eadc97811a0ee0208878d9e767ab26d
tree4db98f540eaf344a6bcdb2e73afaf71d357260b8
parent6f67b9b94afd1569228bf04ff4eaa533be66d846
ata: ahci-imx: remove redundant assignment to ret

The variable ret is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/ahci_imx.c