Re: [PATCH 37/44] USB: serial/keyspan, drop unneeded forward declarations

From
Greg KH <gregkh@linuxfoundation.org>
Date
2021-03-03 21:21:41
Also in
lkml
Reply to
Jiri Slaby, 2021-03-02
On Tue, Mar 02, 2021 at 07:22:07AM +0100, Jiri Slaby wrote:
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 <redacted>
Cc: Johan Hovold <johan@kernel.org>
---
 drivers/usb/serial/keyspan.c | 20 --------------------
 1 file changed, 20 deletions(-)
I'll let Johan take this through his tree:

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thread (61 messages) 61 messages, 10 authors, last reply 2021-03-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help