staging: vt6655: Remove useless else
authorMarcos Antonio de Jesus Filho <mdejesusfilho@gmail.com>
Mon, 9 Nov 2020 02:56:41 +0000 (18:56 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Nov 2020 15:35:21 +0000 (16:35 +0100)
commit0d79a48440f559ac939d1be2089757c5e4ab16c7
tree3105a48220b01dbfd0147b1a7f1fe7644fc4e92f
parentb809984ca2b51cea075ea856a8ab0013c525cead
staging: vt6655: Remove useless else

The else statements are not useful due to the presence of a return
statement on the if block. Remove the else statements, adjust the
indentation of the code, move variable declarations to the beginning of
their scope and remove useless return statement. Reported by checkpatch.

Signed-off-by: Marcos Antonio de Jesus Filho <mdejesusfilho@gmail.com>
Link: https://lore.kernel.org/r/20201109025641.GA69196@Zangetsu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/rxtx.c