OSDN Git Service

tty: hvc, drop unneeded forward declarations
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:10 +0000 (07:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:09 +0000 (09:34 +0100)
commit9d7fd54f2a2e1f4f7248fd4bc9e1e223c1cc54cc
tree8ea010eba91c4d2ad51beaab00635be8d20c28d5
parentb9b90fe655c0bd816847ac1bcbf179cfa2981ecb
tty: hvc, 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.

Cc: linuxppc-dev@lists.ozlabs.org
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-40-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvcs.c