aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statefuns.c
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hp.com>2007-01-24 01:32:23 -0500
committerDavid S. Miller <davem@davemloft.net>2007-01-24 01:32:23 -0500
commit1e5c11fc89ef6663aaa14db1e9e27477f07c24e0 (patch)
tree280acdcec44762c5eb26f10758f8a8c27baedab0 /net/sctp/sm_statefuns.c
parent6fd8bb881509c6bdc3469b3ed16ec25a3b7cad0e (diff)
[SCTP]: Fix compiler warning.
> --- a/net/sctp/sm_statefuns.c > +++ b/net/sctp/sm_statefuns.c > @@ -462,24 +461,6 @@ sctp_disposition_t sctp_sf_do_5_1C_ack(const struct sctp_endpoint *ep, > - if (!init_tag) { > - struct sctp_chunk *reply = sctp_make_abort(asoc, chunk, 0); > - if (!reply) > - goto nomem; This introduced a compiler warning, easily fixed. Signed-off-by: Brian Haley <brian.haley@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
-rw-r--r--net/sctp/sm_statefuns.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c
index fce1f602cde2..fbbc9e6a3b78 100644
--- a/net/sctp/sm_statefuns.c
+++ b/net/sctp/sm_statefuns.c
@@ -531,9 +531,6 @@ sctp_disposition_t sctp_sf_do_5_1C_ack(const struct sctp_endpoint *ep,
531 SCTP_CHUNK(err_chunk)); 531 SCTP_CHUNK(err_chunk));
532 532
533 return SCTP_DISPOSITION_CONSUME; 533 return SCTP_DISPOSITION_CONSUME;
534
535nomem:
536 return SCTP_DISPOSITION_NOMEM;
537} 534}
538 535
539/* 536/*