diff options
author | Joe Perches <joe@perches.com> | 2010-02-05 19:50:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:58 -0500 |
commit | 759f3634267a67ac90f3fa7fc06510dfd43b4e45 (patch) | |
tree | e40f91350c7dba0aaa2b2108b3a60f1b31109fc1 /drivers/usb/serial/ftdi_sio.c | |
parent | 815e173e1d71742f1135fb4d4931e8115a3ca0ef (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/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index d59262ecc229..1c84355a0c80 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -1836,7 +1836,7 @@ static int ftdi_write(struct tty_struct *tty, struct usb_serial_port *port, | |||
1836 | spin_lock_irqsave(&priv->tx_lock, flags); | 1836 | spin_lock_irqsave(&priv->tx_lock, flags); |
1837 | if (priv->tx_outstanding_urbs > URB_UPPER_LIMIT) { | 1837 | if (priv->tx_outstanding_urbs > URB_UPPER_LIMIT) { |
1838 | spin_unlock_irqrestore(&priv->tx_lock, flags); | 1838 | spin_unlock_irqrestore(&priv->tx_lock, flags); |
1839 | dbg("%s - write limit hit\n", __func__); | 1839 | dbg("%s - write limit hit", __func__); |
1840 | return 0; | 1840 | return 0; |
1841 | } | 1841 | } |
1842 | priv->tx_outstanding_urbs++; | 1842 | priv->tx_outstanding_urbs++; |