USB: ipw: remove dummy port_probe and port_remove
authorJohan Hovold <jhovold@gmail.com>
Thu, 13 May 2010 19:33:09 +0000 (21:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:46 +0000 (13:21 -0700)
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ipw.c

index 18b335e0959c8d1d8790ef5674b1e5e6a2ee3f77..585ec1e237b6ce32d4dd1c2c26a57c6a888ead31 100644 (file)
@@ -405,17 +405,6 @@ static int ipw_write(struct tty_struct *tty, struct usb_serial_port *port,
        return count;
 }
 
-static int ipw_probe(struct usb_serial_port *port)
-{
-       return 0;
-}
-
-static int ipw_disconnect(struct usb_serial_port *port)
-{
-       usb_set_serial_port_data(port, NULL);
-       return 0;
-}
-
 static struct usb_serial_driver ipw_device = {
        .driver = {
                .owner =        THIS_MODULE,
@@ -428,8 +417,6 @@ static struct usb_serial_driver ipw_device = {
        .open =                 ipw_open,
        .close =                ipw_close,
        .dtr_rts =              ipw_dtr_rts,
-       .port_probe =           ipw_probe,
-       .port_remove =          ipw_disconnect,
        .write =                ipw_write,
        .write_bulk_callback =  ipw_write_bulk_callback,
        .read_bulk_callback =   ipw_read_bulk_callback,