Commit 1bf42296 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman

isdn: capi, drop useless pr_debugs

capi have many pr_debugs in tty_operations hooks to print only a
functions name. We have better debugging aids in the kernel many years
now. So remove these useless pr_debugs.
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: netdev@vger.kernel.org
Link: https://lore.kernel.org/r/20210505091928.22010-34-jslaby@suse.czSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3e679e1d
...@@ -1158,8 +1158,6 @@ static void capinc_tty_flush_chars(struct tty_struct *tty) ...@@ -1158,8 +1158,6 @@ static void capinc_tty_flush_chars(struct tty_struct *tty)
struct capiminor *mp = tty->driver_data; struct capiminor *mp = tty->driver_data;
struct sk_buff *skb; struct sk_buff *skb;
pr_debug("capinc_tty_flush_chars\n");
spin_lock_bh(&mp->outlock); spin_lock_bh(&mp->outlock);
skb = mp->outskb; skb = mp->outskb;
if (skb) { if (skb) {
...@@ -1200,7 +1198,6 @@ static unsigned int capinc_tty_chars_in_buffer(struct tty_struct *tty) ...@@ -1200,7 +1198,6 @@ static unsigned int capinc_tty_chars_in_buffer(struct tty_struct *tty)
static void capinc_tty_throttle(struct tty_struct *tty) static void capinc_tty_throttle(struct tty_struct *tty)
{ {
struct capiminor *mp = tty->driver_data; struct capiminor *mp = tty->driver_data;
pr_debug("capinc_tty_throttle\n");
mp->ttyinstop = 1; mp->ttyinstop = 1;
} }
...@@ -1208,7 +1205,6 @@ static void capinc_tty_unthrottle(struct tty_struct *tty) ...@@ -1208,7 +1205,6 @@ static void capinc_tty_unthrottle(struct tty_struct *tty)
{ {
struct capiminor *mp = tty->driver_data; struct capiminor *mp = tty->driver_data;
pr_debug("capinc_tty_unthrottle\n");
mp->ttyinstop = 0; mp->ttyinstop = 0;
handle_minor_recv(mp); handle_minor_recv(mp);
} }
...@@ -1217,7 +1213,6 @@ static void capinc_tty_stop(struct tty_struct *tty) ...@@ -1217,7 +1213,6 @@ static void capinc_tty_stop(struct tty_struct *tty)
{ {
struct capiminor *mp = tty->driver_data; struct capiminor *mp = tty->driver_data;
pr_debug("capinc_tty_stop\n");
mp->ttyoutstop = 1; mp->ttyoutstop = 1;
} }
...@@ -1225,7 +1220,6 @@ static void capinc_tty_start(struct tty_struct *tty) ...@@ -1225,7 +1220,6 @@ static void capinc_tty_start(struct tty_struct *tty)
{ {
struct capiminor *mp = tty->driver_data; struct capiminor *mp = tty->driver_data;
pr_debug("capinc_tty_start\n");
mp->ttyoutstop = 0; mp->ttyoutstop = 0;
handle_minor_send(mp); handle_minor_send(mp);
} }
...@@ -1234,7 +1228,6 @@ static void capinc_tty_hangup(struct tty_struct *tty) ...@@ -1234,7 +1228,6 @@ static void capinc_tty_hangup(struct tty_struct *tty)
{ {
struct capiminor *mp = tty->driver_data; struct capiminor *mp = tty->driver_data;
pr_debug("capinc_tty_hangup\n");
tty_port_hangup(&mp->port); tty_port_hangup(&mp->port);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment