From: Abhishek Bhardwaj Date: Wed, 22 Mar 2017 08:43:39 +0000 (-0700) Subject: staging: dgnc: remove tracing prints in dgnc_tty.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdbcd023576a4397dcef3acffa1b8c00993cbf90;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: dgnc: remove tracing prints in dgnc_tty.c Remove tracing prints in dgnc_tty_send_xchar. The same functionality could be achieved by using ftrace. Signed-off-by: Abhishek Bhardwaj Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index f7e754eba154..cae04107d620 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c @@ -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. */