mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
USB: serial: kobil_sct: clean up set_termios()
Clean up set_termios() by using a shorter identifier for the control request value, replacing a ternary operator and adding some missing braces to make it more readable. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
754640d855
commit
d99bdbb0d3
1 changed files with 16 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue