diff options
author | Eric Paris <eparis@redhat.com> | 2012-01-03 14:23:07 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-17 16:16:58 -0500 |
commit | a4ff8dba7d8ce5ceb43fb27df66292251cc73bdc (patch) | |
tree | 2c89a0a7a7dad853a2c2ec70417ef2f3f5a04fd4 /kernel/auditsc.c | |
parent | 38cdce53daa0408a61fe6d86fe48f31515c9b840 (diff) |
audit: inline audit_free to simplify the look of generic code
make the conditional a static inline instead of doing it in generic code.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index e1062f66b01b..7aaeb38b262a 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -1594,7 +1594,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
1594 | * | 1594 | * |
1595 | * Called from copy_process and do_exit | 1595 | * Called from copy_process and do_exit |
1596 | */ | 1596 | */ |
1597 | void audit_free(struct task_struct *tsk) | 1597 | void __audit_free(struct task_struct *tsk) |
1598 | { | 1598 | { |
1599 | struct audit_context *context; | 1599 | struct audit_context *context; |
1600 | 1600 | ||