mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
USB: serial: cp210x: return early on unchanged termios
Return early from set_termios() in case no relevant terminal settings have changed. This avoids testing each parameter in turn and specifically allows the line-control handling to be cleaned up further. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
053af9e6e8
commit
95168d624f
1 changed files with 12 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue