Commit b11b238e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix CHECKER found bug in the ipaq.c driver

parent 2149ab5c
...@@ -370,8 +370,6 @@ static int ipaq_write(struct usb_serial_port *port, int from_user, const unsigne ...@@ -370,8 +370,6 @@ static int ipaq_write(struct usb_serial_port *port, int from_user, const unsigne
dbg("%s - port %d", __FUNCTION__, port->number); dbg("%s - port %d", __FUNCTION__, port->number);
usb_serial_debug_data(__FILE__, __FUNCTION__, count, buf);
while (count > 0) { while (count > 0) {
transfer_size = min(count, PACKET_SIZE); transfer_size = min(count, PACKET_SIZE);
if (ipaq_write_bulk(port, from_user, current_position, transfer_size)) { if (ipaq_write_bulk(port, from_user, current_position, transfer_size)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment