net: Remove checks for dst_ops->redirect being NULL.
No longer necessary. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b587ee3ba2
commit
1ed5c48f23
7 changed files with 8 additions and 11 deletions
|
@ -207,8 +207,7 @@ static void xfrm4_redirect(struct dst_entry *dst, struct sk_buff *skb)
|
|||
struct xfrm_dst *xdst = (struct xfrm_dst *)dst;
|
||||
struct dst_entry *path = xdst->route;
|
||||
|
||||
if (path->ops->redirect)
|
||||
path->ops->redirect(path, skb);
|
||||
path->ops->redirect(path, skb);
|
||||
}
|
||||
|
||||
static void xfrm4_dst_destroy(struct dst_entry *dst)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue