diff options
author | John Baldwin <jhb@FreeBSD.org> | 2006-12-30 17:53:28 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2006-12-30 17:53:28 +0000 |
commit | 54e3607de69e2ee896a54333412221a9ce56a08c (patch) | |
tree | f323cd32959e96f28e97df9359fb0da84e131520 /sys/netinet/tcp_subr.c | |
parent | 18929073b943eee2a0aa8b845a871b565e31fae1 (diff) | |
download | src-54e3607de69e2ee896a54333412221a9ce56a08c.tar.gz src-54e3607de69e2ee896a54333412221a9ce56a08c.zip |
Whitespace fix and remove an extra cast.
Notes
Notes:
svn path=/head/; revision=165657
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index f211eb45674a..4257603571c0 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -309,7 +309,8 @@ tcp_zone_change(void *tag) static int tcp_inpcb_init(void *mem, int size, int flags) { - struct inpcb *inp = (struct inpcb *) mem; + struct inpcb *inp = mem; + INP_LOCK_INIT(inp, "inp", "tcpinp"); return (0); } |