USB: ssu100: remove explicit initialisation of disconnect
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:36:39 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:48:26 +0000 (13:48 -0700)
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>
drivers/usb/serial/ssu100.c

index 4b2a19757b4d531baa8dfb48c8009517d2d21cb5..97aca3fce8835fce8f2420b04ba59b8ad145d4fd 100644 (file)
@@ -641,7 +641,6 @@ static struct usb_serial_driver ssu100_device = {
        .get_icount          = ssu100_get_icount,
        .ioctl               = ssu100_ioctl,
        .set_termios         = ssu100_set_termios,
-       .disconnect          = usb_serial_generic_disconnect,
 };
 
 static struct usb_serial_driver * const serial_drivers[] = {