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>
This commit is contained in:
parent
38cdce53da
commit
a4ff8dba7d
3 changed files with 8 additions and 4 deletions
|
@ -1594,7 +1594,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
|
|||
*
|
||||
* Called from copy_process and do_exit
|
||||
*/
|
||||
void audit_free(struct task_struct *tsk)
|
||||
void __audit_free(struct task_struct *tsk)
|
||||
{
|
||||
struct audit_context *context;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue