Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1e5c11fc89ef6663aaa14db1e9e27477f07c24e0
Commit:     1e5c11fc89ef6663aaa14db1e9e27477f07c24e0
Parent:     6fd8bb881509c6bdc3469b3ed16ec25a3b7cad0e
Author:     Brian Haley <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 23 22:32:23 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jan 23 22:32:23 2007 -0800

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/sctp/sm_statefuns.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

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(const struct 
sctp_endpoint *ep,
                        SCTP_CHUNK(err_chunk));
 
        return SCTP_DISPOSITION_CONSUME;
-
-nomem:
-       return SCTP_DISPOSITION_NOMEM;
 }
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to