提交 bf8773c6 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

USB: ssu100: remove explicit initialisation of disconnect

The disconnect callback is set to the generic implementation by
usb-serial core if NULL.
Signed-off-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 19c61853
...@@ -641,7 +641,6 @@ static struct usb_serial_driver ssu100_device = { ...@@ -641,7 +641,6 @@ static struct usb_serial_driver ssu100_device = {
.get_icount = ssu100_get_icount, .get_icount = ssu100_get_icount,
.ioctl = ssu100_ioctl, .ioctl = ssu100_ioctl,
.set_termios = ssu100_set_termios, .set_termios = ssu100_set_termios,
.disconnect = usb_serial_generic_disconnect,
}; };
static struct usb_serial_driver * const serial_drivers[] = { static struct usb_serial_driver * const serial_drivers[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册