diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-15 20:03:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-17 17:18:32 -0700 |
commit | a6568b2425daffc7b21ae63b6601b57ae14b5cb8 (patch) | |
tree | 5e6ec6d88bd4824f787b5b3b37ad6151096a8595 /net | |
parent | 7a7735044e1eab1415697b3139e758d24a600099 (diff) | |
download | linux-stable-a6568b2425daffc7b21ae63b6601b57ae14b5cb8.tar.gz linux-stable-a6568b2425daffc7b21ae63b6601b57ae14b5cb8.tar.bz2 linux-stable-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')
-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); |