OSDN Git Service

USB: serial: io_edgeport: drop unneeded forward declarations
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:08 +0000 (07:22 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 15 Mar 2021 08:40:21 +0000 (09:40 +0100)
commit8747fb3b14dda3a3e8f934ceb8beab9bd34d927e
tree011850e8dc7630662deba110a4ec454d75f2bdff
parentbf260466c89f4a447c53dc704238cfc3685e05d2
USB: serial: io_edgeport: 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.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[ johan: update the prototype comments ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/io_edgeport.c