diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-20 17:56:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:48:34 -0500 |
commit | 3d48586cfa2e197515605ccf74527983d35638e3 (patch) | |
tree | d2988275f8acd36738409f5765c15fd2d72a716f /drivers/usb/serial/io_ti.c | |
parent | 4bf0ba861442d289eebfad8ea9ce365ab04fd582 (diff) |
[PATCH] USB: small cleanups
This patch contains the following cleanups:
- make needlessly global functions static
- every file should #include the headers containing the prototypes for
it's global functions
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 22ad1a5a8f9e..2edf9cabad20 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -2843,7 +2843,7 @@ static struct edge_buf *edge_buf_alloc(unsigned int size) | |||
2843 | * Free the buffer and all associated memory. | 2843 | * Free the buffer and all associated memory. |
2844 | */ | 2844 | */ |
2845 | 2845 | ||
2846 | void edge_buf_free(struct edge_buf *eb) | 2846 | static void edge_buf_free(struct edge_buf *eb) |
2847 | { | 2847 | { |
2848 | if (eb) { | 2848 | if (eb) { |
2849 | kfree(eb->buf_buf); | 2849 | kfree(eb->buf_buf); |