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>
Thu, 30 Sep 2021 08:11:03 +0000 (10:11 +0200)
commit56a8f0b18f46fe505f5175f71135192f67561f05
tree3d8454df22ef28f7570f25cbac38af7c6ea8242b
parentc64e6c307a7666b852cedf2848f9506926eb791d
tty: synclink_gt, drop unneeded forward declarations

[ Upstream commit b9b90fe655c0bd816847ac1bcbf179cfa2981ecb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/synclink_gt.c