mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
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>
This commit is contained in:
parent
24dd1fa184
commit
f15fbcd7d8
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue