From: Andrew Morton net/ipv6/tcp_ipv6.c:932: warning: 'tcp_request_sock_ipv6_ops' defined but not used Cc: Adrian Bunk Signed-off-by: Andrew Morton --- net/ipv6/tcp_ipv6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN net/ipv6/tcp_ipv6.c~net-possible-cleanups-fix-2 net/ipv6/tcp_ipv6.c --- a/net/ipv6/tcp_ipv6.c~net-possible-cleanups-fix-2 +++ a/net/ipv6/tcp_ipv6.c @@ -929,11 +929,11 @@ static struct request_sock_ops tcp6_requ .send_reset = tcp_v6_send_reset }; -static struct tcp_request_sock_ops tcp_request_sock_ipv6_ops = { #ifdef CONFIG_TCP_MD5SIG +static struct tcp_request_sock_ops tcp_request_sock_ipv6_ops = { .md5_lookup = tcp_v6_reqsk_md5_lookup, -#endif }; +#endif static struct timewait_sock_ops tcp6_timewait_sock_ops = { .twsk_obj_size = sizeof(struct tcp6_timewait_sock), _