diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-02-01 22:24:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-01 22:24:43 -0800 |
commit | f15fbcd7d857ca2ea20b57ba6dfe63aab89d0b8b (patch) | |
tree | ed55dc23e3faea39c4dcc770f556c828dcfda22c /net/ipv4/af_inet.c | |
parent | 24dd1fa184595ff095a92de807fdf029b2632673 (diff) | |
download | linux-stable-f15fbcd7d857ca2ea20b57ba6dfe63aab89d0b8b.tar.gz linux-stable-f15fbcd7d857ca2ea20b57ba6dfe63aab89d0b8b.tar.bz2 linux-stable-f15fbcd7d857ca2ea20b57ba6dfe63aab89d0b8b.zip |
ipv4: Delete redundant sk_family assignment
sk_alloc now sets sk_family so this is redundant. In fact it caught
my eye because sock_init_data already uses sk_family so this is too
late anyway.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r-- | net/ipv4/af_inet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 957cd054732c..c79087719df0 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -369,7 +369,6 @@ lookup_protocol: sock_init_data(sock, sk); sk->sk_destruct = inet_sock_destruct; - sk->sk_family = PF_INET; sk->sk_protocol = protocol; sk->sk_backlog_rcv = sk->sk_prot->backlog_rcv; |