diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-04-25 10:12:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 14:42:17 -0400 |
commit | c1d830c5be5207ca0a4e936f135324ed7a2eea92 (patch) | |
tree | 8199362f94e7d11515446a000686856ef2190731 /drivers/usb/serial/generic.c | |
parent | c5b4ee64ae4adc14ba803f5efebf212e06d022c1 (diff) |
USB: serial: fix double newlines in debug output
Remove trailing newlines from debug messages.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/generic.c')
-rw-r--r-- | drivers/usb/serial/generic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index f6c63d3044f5..7eee965542a5 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c | |||
@@ -312,7 +312,7 @@ static int usb_serial_generic_submit_read_urb(struct usb_serial_port *port, | |||
312 | if (!test_and_clear_bit(index, &port->read_urbs_free)) | 312 | if (!test_and_clear_bit(index, &port->read_urbs_free)) |
313 | return 0; | 313 | return 0; |
314 | 314 | ||
315 | dbg("%s - port %d, urb %d\n", __func__, port->number, index); | 315 | dbg("%s - port %d, urb %d", __func__, port->number, index); |
316 | 316 | ||
317 | res = usb_submit_urb(port->read_urbs[index], mem_flags); | 317 | res = usb_submit_urb(port->read_urbs[index], mem_flags); |
318 | if (res) { | 318 | if (res) { |
@@ -394,10 +394,10 @@ void usb_serial_generic_read_bulk_callback(struct urb *urb) | |||
394 | } | 394 | } |
395 | set_bit(i, &port->read_urbs_free); | 395 | set_bit(i, &port->read_urbs_free); |
396 | 396 | ||
397 | dbg("%s - port %d, urb %d, len %d\n", __func__, port->number, i, | 397 | dbg("%s - port %d, urb %d, len %d", __func__, port->number, i, |
398 | urb->actual_length); | 398 | urb->actual_length); |
399 | if (urb->status) { | 399 | if (urb->status) { |
400 | dbg("%s - non-zero urb status: %d\n", __func__, urb->status); | 400 | dbg("%s - non-zero urb status: %d", __func__, urb->status); |
401 | return; | 401 | return; |
402 | } | 402 | } |
403 | 403 | ||