]> git.baikalelectronics.ru Git - kernel.git/commit
umem: remove redundant initialization of variable ret
authorColin Ian King <colin.king@canonical.com>
Thu, 11 Jun 2020 14:35:27 +0000 (15:35 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Jun 2020 15:16:17 +0000 (09:16 -0600)
commit7481e2f45c222922cecbe8294f9fbce8204d23eb
treea4771c66e918f29160ccf7cde7984e84d2e0fad5
parentd001abf93a54c999c0f98582c6b82f9100beda5d
umem: 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/umem.c