diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-21 07:36:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 16:48:26 -0400 |
commit | 0f16cfe39eeef47c91aa3c3bf2b49954d5313a58 (patch) | |
tree | 1e3e57c886d3fa653b4e86bacf023626d57de6ff /include | |
parent | f8f0ad8621cf01e1e3f8264863b270c2308a9c1a (diff) |
USB: serial: remove generic disconnect callback
Remove the now empty generic disconnect callback and make the disconnect
callback non-mandatory.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/serial.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 1819b59aab2a..437dfd6787f9 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h | |||
@@ -329,7 +329,6 @@ extern void usb_serial_generic_read_bulk_callback(struct urb *urb); | |||
329 | extern void usb_serial_generic_write_bulk_callback(struct urb *urb); | 329 | extern void usb_serial_generic_write_bulk_callback(struct urb *urb); |
330 | extern void usb_serial_generic_throttle(struct tty_struct *tty); | 330 | extern void usb_serial_generic_throttle(struct tty_struct *tty); |
331 | extern void usb_serial_generic_unthrottle(struct tty_struct *tty); | 331 | extern void usb_serial_generic_unthrottle(struct tty_struct *tty); |
332 | extern void usb_serial_generic_disconnect(struct usb_serial *serial); | ||
333 | extern void usb_serial_generic_release(struct usb_serial *serial); | 332 | extern void usb_serial_generic_release(struct usb_serial *serial); |
334 | extern int usb_serial_generic_register(void); | 333 | extern int usb_serial_generic_register(void); |
335 | extern void usb_serial_generic_deregister(void); | 334 | extern void usb_serial_generic_deregister(void); |