tty: serial: samsung_tty: remove set but not used variables
authorTian Tao <tiantao6@hisilicon.com>
Tue, 27 Apr 2021 00:49:35 +0000 (08:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:10:53 +0000 (16:10 +0200)
commit7a9a2363d7eebb3494653a3aa903198991494cd3
tree00644584917132eed369fd6230c7dd2916bd2fa7
parent8cac2f6eb8548245e6f8fb893fc7f2a714952654
tty: serial: samsung_tty: remove set but not used variables

The value of 'ret' is not used which reported by svace, so just return
instead of break.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1619484575-26098-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung_tty.c