projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c7b93
)
USB: cdc-acm: remove superfluous prototype
author
Johan Hovold
<jhovold@gmail.com>
Tue, 22 Mar 2011 10:12:19 +0000
(11:12 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 13 Apr 2011 23:18:29 +0000
(16:18 -0700)
Remove unnecessary acm_tty_chars_in_buffer prototype.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c
patch
|
blob
|
history
diff --git
a/drivers/usb/class/cdc-acm.c
b/drivers/usb/class/cdc-acm.c
index a693381ed3ccc3a840d07eaa64ce78a08abb625b..b84ccec8fc7b8775689639e28a7a76d81a662e07 100644
(file)
--- a/
drivers/usb/class/cdc-acm.c
+++ b/
drivers/usb/class/cdc-acm.c
@@
-626,8
+626,6
@@
static void acm_tty_unregister(struct acm *acm)
kfree(acm);
}
-static int acm_tty_chars_in_buffer(struct tty_struct *tty);
-
static void acm_port_down(struct acm *acm)
{
int i, nr = acm->rx_buflimit;