diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-01-12 06:20:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:49 -0500 |
commit | 1486cbd777316e55aa30aeb37e231ce618c29d2e (patch) | |
tree | f53c510b99b1d06bcecb396c6e11f75c56ca335c /net/xfrm/xfrm_policy.c | |
parent | cea14e0ed6082bd3dff19203d01340de6e7ca067 (diff) |
[XFRM] xfrm_policy: kill some bloat
net/xfrm/xfrm_policy.c:
xfrm_audit_policy_delete | -692
xfrm_audit_policy_add | -692
2 functions changed, 1384 bytes removed, diff: -1384
net/xfrm/xfrm_policy.c:
xfrm_audit_common_policyinfo | +704
1 function changed, 704 bytes added, diff: +704
net/xfrm/xfrm_policy.o:
3 functions changed, 704 bytes added, 1384 bytes removed, diff: -680
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 534b29eb46fe..47219f98053f 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -2367,8 +2367,8 @@ void __init xfrm_init(void) | |||
2367 | } | 2367 | } |
2368 | 2368 | ||
2369 | #ifdef CONFIG_AUDITSYSCALL | 2369 | #ifdef CONFIG_AUDITSYSCALL |
2370 | static inline void xfrm_audit_common_policyinfo(struct xfrm_policy *xp, | 2370 | static void xfrm_audit_common_policyinfo(struct xfrm_policy *xp, |
2371 | struct audit_buffer *audit_buf) | 2371 | struct audit_buffer *audit_buf) |
2372 | { | 2372 | { |
2373 | struct xfrm_sec_ctx *ctx = xp->security; | 2373 | struct xfrm_sec_ctx *ctx = xp->security; |
2374 | struct xfrm_selector *sel = &xp->selector; | 2374 | struct xfrm_selector *sel = &xp->selector; |