OSDN Git Service

USB: serial: keyspan: drop unneeded forward declarations
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:07 +0000 (07:22 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 15 Mar 2021 08:29:47 +0000 (09:29 +0100)
commitbf260466c89f4a447c53dc704238cfc3685e05d2
tree4251ac95bd8c2775e943ff17f388309e228cd00c
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
USB: serial: keyspan: drop unneeded forward declarations

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

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/keyspan.c