staging: vt6656: Use return instead of goto
authorOscar Carter <oscar.carter@gmx.com>
Sat, 25 Apr 2020 15:17:46 +0000 (17:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2020 12:26:29 +0000 (14:26 +0200)
commitd78b62c3eaf257dfb114f579c797a4777e3f45d4
treeb5b8fb47b4f57b1efedf7c70c6c6a6d995a8cfca
parent8a5baa66b01f6bfbb4f2456fdd4a8fe3896d7119
staging: vt6656: Use return instead of goto

Replace the "goto" statements with a direct "return ret" as the jump
label only returns the ret variable.

Also, remove the unnecessary variable initialization because the ret
variable is set a few lines later.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200425151747.8199-3-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rf.c