OSDN Git Service

tty: synclink_gt, drop unneeded forward declarations
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:09 +0000 (07:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:09 +0000 (09:34 +0100)
commitb9b90fe655c0bd816847ac1bcbf179cfa2981ecb
tree2346e149227ac087723d0824a4bee2541b4fb45c
parenta846dcf9d7295dd45493002fdde081f1667a85d3
tty: synclink_gt, drop unneeded forward declarations

Forward declarations make the code larger and rewrites harder. Harder as
they are often omitted from global changes. Remove forward declarations
which are not really needed, i.e. the definition of the function is
before its first use.

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