xfrm: Remove useless xfrm_audit struct.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 22 Apr 2014 12:48:30 +0000 (21:48 +0900)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 23 Apr 2014 06:21:04 +0000 (08:21 +0200)
commit2e71029e2c32ecd59a2e8f351517bfbbad42ac11
treeb149f7d9be228544e36416dece87c2ab6ca28b7b
parentf1370cc4a01e61007ab3020c761cef6b88ae3729
xfrm: Remove useless xfrm_audit struct.

Commit f1370cc4 "xfrm: Remove useless secid field from xfrm_audit." changed
"struct xfrm_audit" to have either
{ audit_get_loginuid(current) / audit_get_sessionid(current) } or
{ INVALID_UID / -1 } pair.

This means that we can represent "struct xfrm_audit" as "bool".
This patch replaces "struct xfrm_audit" argument with "bool".

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c