tty: audit: Never audit packet mode
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 06:55:26 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 00:41:04 +0000 (16:41 -0800)
commiteab25a5cd1f91b5c7991affe95f24ce188b8021f
tree8efd0ba7f8f17d89c08503b224c959fa92ef2a00
parentd7c0ba40ebb32510e2c5d80a392474320cab8a2d
tty: audit: Never audit packet mode

tty audit never logs pty master reads, but packet mode only works for
pty masters, so tty_audit_add_data() was never logging packet mode
anyway.

Don't audit packet mode data. As those are the lone call sites, remove
tty_put_user().

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