]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Fix build warning after tcp_{v4,v6}_init_sock consolidation.
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2012 07:21:58 +0000 (03:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2012 07:21:58 +0000 (03:21 -0400)
commite0f2e7e9916189a7d70f4af614aca7458a3e0d71
tree286eb33f1eac8342857555909f03fcd930883947
parenta64c8fe64797a10e1a419617e6e2c98bb2c7ce02
tcp: Fix build warning after tcp_{v4,v6}_init_sock consolidation.

net/ipv4/tcp_ipv4.c: In function 'tcp_v4_init_sock':
net/ipv4/tcp_ipv4.c:1891:19: warning: unused variable 'tp' [-Wunused-variable]
net/ipv6/tcp_ipv6.c: In function 'tcp_v6_init_sock':
net/ipv6/tcp_ipv6.c:1836:19: warning: unused variable 'tp' [-Wunused-variable]

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c