staging: dgnc: remove tracing prints in dgnc_tty.c
authorAbhishek Bhardwaj <abshkbh@gmail.com>
Wed, 22 Mar 2017 08:43:39 +0000 (01:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:21:25 +0000 (14:21 +0100)
Remove tracing prints in dgnc_tty_send_xchar. The same functionality
could be achieved by using ftrace.

Signed-off-by: Abhishek Bhardwaj <abshkbh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c

index f7e754eba154c064656d1c03d376b852a9bbd7e4..cae04107d620d3bae5b773d35b3da40099281f02 100644 (file)
@@ -1858,13 +1858,9 @@ static void dgnc_tty_send_xchar(struct tty_struct *tty, char c)
        if (!bd || bd->magic != DGNC_BOARD_MAGIC)
                return;
 
-       dev_dbg(tty->dev, "dgnc_tty_send_xchar start\n");
-
        spin_lock_irqsave(&ch->ch_lock, flags);
        bd->bd_ops->send_immediate_char(ch, c);
        spin_unlock_irqrestore(&ch->ch_lock, flags);
-
-       dev_dbg(tty->dev, "dgnc_tty_send_xchar finish\n");
 }
 
 /* Return modem signals to ld. */