diff options
author | Daniel Halperin <dhalperi@cs.washington.edu> | 2012-06-18 11:04:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-19 00:26:26 -0700 |
commit | 39d84a58ad6290a43e6503acc8b54ebb7e4ecc54 (patch) | |
tree | a7997ece4815c6614f1bc0e5be19ae53d43a87b7 /net/sctp | |
parent | d189634ecab947c10f6f832258b103d0bbfe73cc (diff) |
sctp: fix warning when compiling without IPv6
net/sctp/protocol.c: In function ‘sctp_addr_wq_timeout_handler’:
net/sctp/protocol.c:676: warning: label ‘free_next’ defined but not used
Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 5942d27b144..9c90811d113 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -673,7 +673,9 @@ void sctp_addr_wq_timeout_handler(unsigned long arg) SCTP_DEBUG_PRINTK("sctp_addrwq_timo_handler: sctp_asconf_mgmt failed\n"); sctp_bh_unlock_sock(sk); } +#if IS_ENABLED(CONFIG_IPV6) free_next: +#endif list_del(&addrw->list); kfree(addrw); } |