block: blk-crypto-fallback: remove redundant initialization of variable err
authorColin Ian King <colin.king@canonical.com>
Tue, 26 May 2020 22:49:02 +0000 (23:49 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 May 2020 11:41:59 +0000 (05:41 -0600)
commite7ecc142e9f33f5a8808b13fb0afa14f36aeeca3
treee438be56816e0a6379806f5dab486b6bf170cd6c
parent524f9ffd6a4d3622aa48ca286ff85a30ed1cdbcf
block: blk-crypto-fallback: remove redundant initialization of variable err

The variable err 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>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Satya Tangirala <satyat@google.com>
Addresses-Coverity: ("Unused value")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-crypto-fallback.c