X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=net%2Fsctp%2Fprotocol.c;h=b78e3be6901398f7a62b76a291fb8954341aacc0;hb=52435bfc665716fdf9a02f0d08e7ce50ddb9bf45;hp=d5ea232c9126799654d23b49aefc77a09763adc4;hpb=b5ddedc9cc01b1d86015af08c5f1694191804530;p=linux-2.6-omap-h63xx.git diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index d5ea232c912..b78e3be6901 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -139,11 +139,12 @@ out_snmp_proc_init: } out_free_percpu: percpu_counter_destroy(&sctp_sockets_allocated); -out_nomem: - return -ENOMEM; #else return 0; #endif /* CONFIG_PROC_FS */ + +out_nomem: + return -ENOMEM; } /* Clean up the proc fs entry for the SCTP protocol.