]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Fix compiler warning.
authorBrian Haley <brian.haley@hp.com>
Wed, 24 Jan 2007 06:32:23 +0000 (22:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2007 06:32:23 +0000 (22:32 -0800)
commitcaf599045be24de297fc47a069fcc121e529b8b7
tree280acdcec44762c5eb26f10758f8a8c27baedab0
parentf250e85a69209f330d31828f5be8f9c104c0f8ab
[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>
net/sctp/sm_statefuns.c