]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
USB: serial: metro-usb: drop unused interrupt-out callback
authorJohan Hovold <johan@kernel.org>
Wed, 8 Feb 2017 12:49:16 +0000 (13:49 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 8 Feb 2017 18:27:40 +0000 (19:27 +0100)
Drop the unused interrupt-out callback.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/metro-usb.c

index 39e683096e94cf3b174d276441fd1d848805ed9b..4f7cd30b5424c235394c5b020e554b6bdc9136d4 100644 (file)
@@ -161,14 +161,6 @@ static void metrousb_read_int_callback(struct urb *urb)
                        __func__, result);
 }
 
-static void metrousb_write_int_callback(struct urb *urb)
-{
-       struct usb_serial_port *port = urb->context;
-
-       dev_warn(&port->dev, "%s not implemented yet.\n",
-               __func__);
-}
-
 static void metrousb_cleanup(struct usb_serial_port *port)
 {
        dev_dbg(&port->dev, "%s\n", __func__);
@@ -377,7 +369,6 @@ static struct usb_serial_driver metrousb_device = {
        .open                   = metrousb_open,
        .close                  = metrousb_cleanup,
        .read_int_callback      = metrousb_read_int_callback,
-       .write_int_callback     = metrousb_write_int_callback,
        .port_probe             = metrousb_port_probe,
        .port_remove            = metrousb_port_remove,
        .throttle               = metrousb_throttle,