summaryrefslogtreecommitdiff
path: root/net/xfrm
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-15 20:03:52 -0500
committerDavid S. Miller <davem@davemloft.net>2015-09-17 17:18:32 -0700
commita6568b2425daffc7b21ae63b6601b57ae14b5cb8 (patch)
tree5e6ec6d88bd4824f787b5b3b37ad6151096a8595 /net/xfrm
parent7a7735044e1eab1415697b3139e758d24a600099 (diff)
downloadlwn-a6568b2425daffc7b21ae63b6601b57ae14b5cb8.tar.gz
lwn-a6568b2425daffc7b21ae63b6601b57ae14b5cb8.zip
xfrm: Remove unused afinfo method init_dst
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 94af3d065785..6b5d6e2b9a49 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1583,8 +1583,6 @@ static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family)
memset(dst + 1, 0, sizeof(*xdst) - sizeof(*dst));
xdst->flo.ops = &xfrm_bundle_fc_ops;
- if (afinfo->init_dst)
- afinfo->init_dst(net, xdst);
} else
xdst = ERR_PTR(-ENOBUFS);