loop: remove redundant assignment to variable error
authorColin Ian King <colin.king@canonical.com>
Sun, 24 May 2020 16:10:43 +0000 (17:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 24 May 2020 17:13:36 +0000 (11:13 -0600)
commitd29b92f57ecee125a86587919a22152a702a6411
tree4a79e6c11ee3d6dbd24dc624e98d6217c4ec4e29
parent3783daeb1d24696ff00125050353cfce4f5b6239
loop: remove redundant assignment to variable error

The variable error is being assigned a value that is never
read so the assignment 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/block/loop.c