aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2023-04-20 11:35:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 13:48:50 +0200
commit71ca6e4bf44f9a737f11e3f169430f81e9febd7b (patch)
tree433fdf64bd02f06789f08d81d30abe647c7042b9 /drivers/fpga
parent6b97370b2cc6ef75acb72d651ef57041c8f1ece9 (diff)
downloadlinux-71ca6e4bf44f9a737f11e3f169430f81e9febd7b.tar.gz
linux-71ca6e4bf44f9a737f11e3f169430f81e9febd7b.tar.bz2
linux-71ca6e4bf44f9a737f11e3f169430f81e9febd7b.zip
tty: vt: simplify some cases in tioclinux()
There is no need to set "ret" variable and break. We can simply return from the cases. This makes the code much easier to follow, as many else branches are redundant. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230420093559.13200-2-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions