diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-04-20 11:35:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 13:48:50 +0200 |
commit | 71ca6e4bf44f9a737f11e3f169430f81e9febd7b (patch) | |
tree | 433fdf64bd02f06789f08d81d30abe647c7042b9 /drivers/fpga/zynqmp-fpga.c | |
parent | 6b97370b2cc6ef75acb72d651ef57041c8f1ece9 (diff) |
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) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions