aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/input.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 03:41:25 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-12 03:41:25 -0400
commit1ed5c48f231cd00eac0b3d2350ac61e3c825063e (patch)
treea2ddd1e4c432d7300396814320608ee946030fc1 /net/sctp/input.c
parentb587ee3ba21f58b7770a132e6bca5c6658ac5095 (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/sctp/input.c')
-rw-r--r--net/sctp/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c
index 5943b7d77ddb..f050d45faa98 100644
--- a/net/sctp/input.c
+++ b/net/sctp/input.c
@@ -431,7 +431,7 @@ void sctp_icmp_redirect(struct sock *sk, struct sctp_transport *t,
431 if (!t) 431 if (!t)
432 return; 432 return;
433 dst = sctp_transport_dst_check(t); 433 dst = sctp_transport_dst_check(t);
434 if (dst && dst->ops->redirect) 434 if (dst)
435 dst->ops->redirect(dst, skb); 435 dst->ops->redirect(dst, skb);
436} 436}
437 437