Skip to content
Commit 98cb4ab0 authored by Jakob Østergaard Jensen's avatar Jakob Østergaard Jensen Committed by Greg Kroah-Hartman
Browse files

tty: serial: jsm_tty: fixed redundant variable issue.



The variable "len" gets assigned once and it's value copied to
"n", which is then used for the rest of the function.

This patch fixes the unnecessary variable reassignment by using "len"
throughout the function instead.

Signed-off-by: default avatarJakob Østergaard Jensen <jakob.jensen.91@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e882f715
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment