Skip to content

Commit

Permalink
USB: serial: metro-usb: drop unused interrupt-out callback
Browse files Browse the repository at this point in the history
Drop the unused interrupt-out callback.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
  • Loading branch information
Johan Hovold committed Feb 8, 2017
1 parent 16620b4 commit 965bbef
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/usb/serial/metro-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 965bbef

Please sign in to comment.