diff options
author | Jakob Østergaard Jensen <jakob.jensen.91@gmail.com> | 2016-02-07 12:36:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 13:36:09 -0800 |
commit | 98cb4ab09e772d791b7150c38574a024b9801b47 (patch) | |
tree | d172de5fed44bdcb3f7f540d596b0922a4bed0be /drivers/net/ethernet/freescale/Makefile | |
parent | tty: vt: initialize softcursor_original correctly (diff) | |
download | linux-dev-98cb4ab09e772d791b7150c38574a024b9801b47.tar.xz linux-dev-98cb4ab09e772d791b7150c38574a024b9801b47.zip |
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: Jakob Østergaard Jensen <jakob.jensen.91@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/freescale/Makefile')
0 files changed, 0 insertions, 0 deletions