mxser: remove cnt from mxser_receive_chars
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:37 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:00 +0000 (13:10 +0200)
commit95b3ea4c6f45f3172dae29f303579743c2aa303d
tree14ce6a5d5b7972221db097bac814254cd335cbb2
parent47f82769181fdb755bc86aff881775357383ff68
mxser: remove cnt from mxser_receive_chars

After the previous ioctls removal, cnt is needed only in
mxser_receive_chars_old now. So remove it from mxser_receive_chars and
mxser_receive_chars_new and account only in mxser_receive_chars_old.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-32-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c