aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/udplite.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-05 19:00:09 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-07 08:53:55 +0100
commitcc97777c80fdfabe12997581131872a03fdcf683 (patch)
treec15c217a83533d5ce519619b4305739f26da131b /include/net/udplite.h
parentnet: sfp: Remove unused function declaration sfp_link_configure() (diff)
downloadwireguard-linux-cc97777c80fdfabe12997581131872a03fdcf683.tar.xz
wireguard-linux-cc97777c80fdfabe12997581131872a03fdcf683.zip
udp/udplite: Remove unused function declarations udp{,lite}_get_port()
Commit 6ba5a3c52da0 ("[UDP]: Make full use of proto.h.udp_hash innovation.") removed these implementations but leave declarations. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udplite.h')
-rw-r--r--include/net/udplite.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/udplite.h b/include/net/udplite.h
index 299c14ce2bb9..bd33ff2b8f42 100644
--- a/include/net/udplite.h
+++ b/include/net/udplite.h
@@ -81,6 +81,4 @@ static inline __wsum udplite_csum(struct sk_buff *skb)
}
void udplite4_register(void);
-int udplite_get_port(struct sock *sk, unsigned short snum,
- int (*scmp)(const struct sock *, const struct sock *));
#endif /* _UDPLITE_H */