rslib: decode_rs: Code cleanup
authorFerdinand Blomqvist <ferdinand.blomqvist@gmail.com>
Thu, 20 Jun 2019 14:10:36 +0000 (17:10 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 26 Jun 2019 12:55:46 +0000 (14:55 +0200)
commit647cc9ece63fdba573a31bdafa54fb2d388c3c83
tree2252c596b1a31b781e6309d0c3ae6c030a134e74
parenta343536f8f482be6932803a023f46d0fa723ae56
rslib: decode_rs: Code cleanup

Nothing useful was done after the finish label when count is negative so
return directly instead of jumping to finish.

Signed-off-by: Ferdinand Blomqvist <ferdinand.blomqvist@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190620141039.9874-5-ferdinand.blomqvist@gmail.com
lib/reed_solomon/decode_rs.c