diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-15 21:03:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-17 20:18:32 -0400 |
commit | a6568b2425daffc7b21ae63b6601b57ae14b5cb8 (patch) | |
tree | 5e6ec6d88bd4824f787b5b3b37ad6151096a8595 /net/xfrm | |
parent | 7a7735044e1eab1415697b3139e758d24a600099 (diff) |
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.c | 2 |
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) | |||
1583 | 1583 | ||
1584 | memset(dst + 1, 0, sizeof(*xdst) - sizeof(*dst)); | 1584 | memset(dst + 1, 0, sizeof(*xdst) - sizeof(*dst)); |
1585 | xdst->flo.ops = &xfrm_bundle_fc_ops; | 1585 | xdst->flo.ops = &xfrm_bundle_fc_ops; |
1586 | if (afinfo->init_dst) | ||
1587 | afinfo->init_dst(net, xdst); | ||
1588 | } else | 1586 | } else |
1589 | xdst = ERR_PTR(-ENOBUFS); | 1587 | xdst = ERR_PTR(-ENOBUFS); |
1590 | 1588 | ||