]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
tty: synclink_gt, drop unneeded forward declarations
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:09 +0000 (07:22 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 5 Nov 2021 08:12:43 +0000 (09:12 +0100)
commit583b5327786d62723687016b80e25a7118a1a059
treedc2f6499a24eb558ef03c22bbf35dc2ed9da5482
parentadc056d356317d6f6376203d557dd544a7d0b5fe
tty: synclink_gt, drop unneeded forward declarations

BugLink: https://bugs.launchpad.net/bugs/1947886
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/tty/synclink_gt.c