mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
TTY: disable debugging warning
We added a warning to flush_to_ldisc to report cases when it is called with a NULL tty. It was for debugging purposes and it lead to a patchset from Peter Hurley. The patchset however did not make it to 3.9, so disable the warning now to not disturb people. We can re-add it when the series is in and we are hunting for another bugs. Reported-by: David Miller <[email protected]> Cc: stable <[email protected]> # 3.8 Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
6dbe51c251
commit
34dcfb8479
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ static void flush_to_ldisc(struct work_struct *work)
|
|||
struct tty_ldisc *disc;
|
||||
|
||||
tty = port->itty;
|
||||
if (WARN_RATELIMIT(tty == NULL, "tty is NULL\n"))
|
||||
if (tty == NULL)
|
||||
return;
|
||||
|
||||
disc = tty_ldisc_ref(tty);
|
||||
|
|
|
|||
Loading…
Reference in a new issue