tty: Replace inline #ifdef TTY_DEBUG_WAIT_UNTIL_SENT
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 13 Jul 2015 02:49:11 +0000 (22:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:37:31 +0000 (18:37 -0700)
commitff8339dc164bb807cc67492ed9310335b7ed88ba
tree77f110b0055e6d11db1991379e2ffbb2acf61786
parent0a6adc131c9d0809682d72398d01099a7ea4168b
tty: Replace inline #ifdef TTY_DEBUG_WAIT_UNTIL_SENT

Add tty_debug_wait_until_sent() macro which uses tty_debug() to print
the debug message; remove inlined #ifdef.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ioctl.c