forked from Minki/linux
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: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
19c6185383
commit
bf8773c6ea
@ -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[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user