diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-09 22:55:31 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-27 16:41:04 -0800 |
commit | 37282a77954aa2dbb339d15902290f25b868d2e8 (patch) | |
tree | c4c04eac2ad8c45f3b56f4ef4615d4aec5ec1cb9 /kernel/audit.c | |
parent | b50819f437c094b4beb2e8684fbe12bbe79fb331 (diff) | |
download | op-kernel-dev-37282a77954aa2dbb339d15902290f25b868d2e8.zip op-kernel-dev-37282a77954aa2dbb339d15902290f25b868d2e8.tar.gz |
tty: audit: Combine push functions
tty_audit_push() and tty_audit_push_current() perform identical
tasks; eliminate the tty_audit_push() implementation and the
tty_audit_push_current() name.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 3a3e5de..610f221 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -920,7 +920,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) if (err == 1) { /* match or error */ err = 0; if (msg_type == AUDIT_USER_TTY) { - err = tty_audit_push_current(); + err = tty_audit_push(); if (err) break; } |