]> git.baikalelectronics.ru Git - kernel.git/commit
pktcdvd: remove redundant initialization of variable ret
authorColin Ian King <colin.king@canonical.com>
Thu, 11 Jun 2020 14:30:14 +0000 (15:30 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Jun 2020 15:15:48 +0000 (09:15 -0600)
commitd001abf93a54c999c0f98582c6b82f9100beda5d
tree3dfebb800c100e07fb432c749a8a0ec1a44241a0
parentc6e2fb75fa1a5f130e8ee6491d5f3b0411aa1faf
pktcdvd: remove redundant initialization of variable 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.

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