OSDN Git Service

tty: n_gsm, remove duplicates of parameters
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:11 +0000 (07:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:09 +0000 (09:34 +0100)
commitb93db97e1ca08e500305bc46b08c72e2232c4be1
tree730050500bf4c2354f70e36043d665bb430ebb57
parent9d7fd54f2a2e1f4f7248fd4bc9e1e223c1cc54cc
tty: n_gsm, remove duplicates of parameters

dp, f, and i are only duplicates of gsmld_receive_buf's parameters. Use
the parameters directly (cp, fp, and count) and delete these local
variables.

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