diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-16 03:03:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-18 02:18:32 +0200 |
commit | a6568b2425daffc7b21ae63b6601b57ae14b5cb8 (patch) | |
tree | 5e6ec6d88bd4824f787b5b3b37ad6151096a8595 /net/xfrm | |
parent | netfilter: Pass net to nf_hook_thresh (diff) | |
download | linux-a6568b2425daffc7b21ae63b6601b57ae14b5cb8.tar.xz linux-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.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) 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); |