]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tcp/dccp: Remove inet_connection_sock_af_ops.addr2sockaddr().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Tue, 18 Mar 2025 06:01:07 +0000 (23:01 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 24 Mar 2025 19:10:13 +0000 (12:10 -0700)
commit66034f78a5583bc10c195647629a137e8ed02208
treec45b2fe741b25e70f550f5b2cb3e24bdc380239e
parent3099f9e156b3bd37b3825fc527dd018bb76957f7
tcp/dccp: Remove inet_connection_sock_af_ops.addr2sockaddr().

inet_connection_sock_af_ops.addr2sockaddr() hasn't been used at all
in the git era.

  $ git grep addr2sockaddr $(git rev-list HEAD | tail -n 1)

Let's remove it.

Note that there was a 4 bytes hole after sockaddr_len and now it's
6 bytes, so the binary layout is not changed.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250318060112.3729-1-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet6_connection_sock.h
include/net/inet_connection_sock.h
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/inet_connection_sock.c
net/ipv4/tcp_ipv4.c
net/ipv6/inet6_connection_sock.c
net/ipv6/tcp_ipv6.c