--- 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. -Brian Signed-off-by: Brian Haley <[EMAIL PROTECTED]>
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index fce1f60..fbbc9e6 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(c SCTP_CHUNK(err_chunk)); return SCTP_DISPOSITION_CONSUME; - -nomem: - return SCTP_DISPOSITION_NOMEM; } /*