aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2025-06-09 11:32:35 -0400
committerJakub Kicinski <kuba@kernel.org>2025-06-10 14:43:40 -0700
commit561939ed44932da639ba703ffcd4d4d5ff2c7569 (patch)
tree792c4471f8726bd2e367b24d4d3f57338b4d95e1 /include/net
parentcxgb3/l2t: Remove unused t3_l2t_send_event (diff)
downloadlinux-561939ed44932da639ba703ffcd4d4d5ff2c7569.tar.gz
linux-561939ed44932da639ba703ffcd4d4d5ff2c7569.zip
net: remove unused sock_enable_timestamps
This function was introduced in commit 783da70e8396 ("net: add sock_enable_timestamps"), with one caller in rxrpc. That only caller was removed in commit 7903d4438b3f ("rxrpc: Don't use received skbuff timestamps"). Signed-off-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Jason Xing <kerneljasonxing@gmail.com> Link: https://patch.msgid.link/20250609153254.3504909-1-willemdebruijn.kernel@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 92e7c1aae3cc..85e17da5c9db 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -2982,7 +2982,6 @@ void sock_set_timestamp(struct sock *sk, int optname, bool valbool);
int sock_set_timestamping(struct sock *sk, int optname,
struct so_timestamping timestamping);
-void sock_enable_timestamps(struct sock *sk);
#if defined(CONFIG_CGROUP_BPF)
void bpf_skops_tx_timestamping(struct sock *sk, struct sk_buff *skb, int op);
#else