diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 03:41:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 03:41:25 -0400 |
commit | 1ed5c48f231cd00eac0b3d2350ac61e3c825063e (patch) | |
tree | a2ddd1e4c432d7300396814320608ee946030fc1 /net/ipv4/xfrm4_policy.c | |
parent | b587ee3ba21f58b7770a132e6bca5c6658ac5095 (diff) |
net: Remove checks for dst_ops->redirect being NULL.
No longer necessary.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
-rw-r--r-- | net/ipv4/xfrm4_policy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c index 258ebd7b268b..737131cef375 100644 --- a/net/ipv4/xfrm4_policy.c +++ b/net/ipv4/xfrm4_policy.c | |||
@@ -207,8 +207,7 @@ static void xfrm4_redirect(struct dst_entry *dst, struct sk_buff *skb) | |||
207 | struct xfrm_dst *xdst = (struct xfrm_dst *)dst; | 207 | struct xfrm_dst *xdst = (struct xfrm_dst *)dst; |
208 | struct dst_entry *path = xdst->route; | 208 | struct dst_entry *path = xdst->route; |
209 | 209 | ||
210 | if (path->ops->redirect) | 210 | path->ops->redirect(path, skb); |
211 | path->ops->redirect(path, skb); | ||
212 | } | 211 | } |
213 | 212 | ||
214 | static void xfrm4_dst_destroy(struct dst_entry *dst) | 213 | static void xfrm4_dst_destroy(struct dst_entry *dst) |