Loading
dm-verity-fec: make fec_decode_bufs() just return 0 or error
fec_decode_bufs() returns the number of errors corrected or a negative errno value. However, the caller just checks for an errno value and doesn't do anything with the number of errors corrected. Simplify the code by just returning 0 instead of the number of errors corrected. Signed-off-by:Eric Biggers <ebiggers@kernel.org> Signed-off-by:
Mikulas Patocka <mpatocka@redhat.com>