]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit805f947005b0cb6ca1790bf278b0012dd12faa9b
tree4251ac95bd8c2775e943ff17f388309e228cd00c
parent155740eb4d33ce3a3ca0d38d270a3f49add1ff95
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