diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-11-27 15:30:53 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-27 15:30:53 -0800 |
commit | 157653ce79a606409a8bfb496cba797b2984b18f (patch) | |
tree | 442c91ba297fe59cf9cb81bae29c02eccf7dd678 /net/sctp/protocol.c | |
parent | 40a914fa72abdb9193ecad7dd82e48d952ab9d24 (diff) | |
download | op-kernel-dev-157653ce79a606409a8bfb496cba797b2984b18f.zip op-kernel-dev-157653ce79a606409a8bfb496cba797b2984b18f.tar.gz |
sctp: fix missing label when PROC_FS=n
Fix missing label when CONFIG_PROC_FS=n:
net/sctp/protocol.c: In function 'sctp_proc_init':
net/sctp/protocol.c:106: error: label 'out_nomem' used but not defined
make[3]: *** [net/sctp/protocol.o] Error 1
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index d5ea232..b78e3be 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. |