tty: audit: Check audit enable first
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 06:55:37 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 00:41:04 +0000 (16:41 -0800)
commitf17c3662745ea5fd4510c3dff19f9975552e1865
tree2e8bcb99a77470e9cd2febbad2b75c9cf8f1e321
parentfbaa122718a1235f4f83baa3abaad21cfefdbc9d
tty: audit: Check audit enable first

Audit is unlikely to be enabled; check first to exit asap.

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