aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/generic.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-02-05 19:50:08 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 17:54:58 -0500
commit759f3634267a67ac90f3fa7fc06510dfd43b4e45 (patch)
treee40f91350c7dba0aaa2b2108b3a60f1b31109fc1 /drivers/usb/serial/generic.c
parent815e173e1d71742f1135fb4d4931e8115a3ca0ef (diff)
USB: serial: Remove unnecessary \n's from dbg uses
#define dbg adds the newline, messages shouldn't. Converted dbg("%s", "some string") to dbg("some string") Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/generic.c')
-rw-r--r--drivers/usb/serial/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c
index 0b1c4732b878..5288203d883f 100644
--- a/drivers/usb/serial/generic.c
+++ b/drivers/usb/serial/generic.c
@@ -194,7 +194,7 @@ static int usb_serial_multi_urb_write(struct tty_struct *tty,
194 if (port->urbs_in_flight > 194 if (port->urbs_in_flight >
195 port->serial->type->max_in_flight_urbs) { 195 port->serial->type->max_in_flight_urbs) {
196 spin_unlock_irqrestore(&port->lock, flags); 196 spin_unlock_irqrestore(&port->lock, flags);
197 dbg("%s - write limit hit\n", __func__); 197 dbg("%s - write limit hit", __func__);
198 return bwrite; 198 return bwrite;
199 } 199 }
200 port->tx_bytes_flight += towrite; 200 port->tx_bytes_flight += towrite;