audit: inline audit_free to simplify the look of generic code
authorEric Paris <eparis@redhat.com>
Tue, 3 Jan 2012 19:23:07 +0000 (14:23 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jan 2012 21:16:58 +0000 (16:16 -0500)
commita4ff8dba7d8ce5ceb43fb27df66292251cc73bdc
tree2c89a0a7a7dad853a2c2ec70417ef2f3f5a04fd4
parent38cdce53daa0408a61fe6d86fe48f31515c9b840
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>
include/linux/audit.h
kernel/auditsc.c
kernel/exit.c