浏览代码

USB: cdc-acm: remove superfluous prototype

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>
Johan Hovold 14 年之前
父节点
当前提交
3a42610812
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/usb/class/cdc-acm.c

+ 0 - 2
drivers/usb/class/cdc-acm.c

@@ -626,8 +626,6 @@ static void acm_tty_unregister(struct acm *acm)
 	kfree(acm);
 	kfree(acm);
 }
 }
 
 
-static int acm_tty_chars_in_buffer(struct tty_struct *tty);
-
 static void acm_port_down(struct acm *acm)
 static void acm_port_down(struct acm *acm)
 {
 {
 	int i, nr = acm->rx_buflimit;
 	int i, nr = acm->rx_buflimit;