Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Yue Haibing and committed by
David S. Miller
cc97777c a6ab5c29

-5
-3
include/net/udp.h
··· 273 273 274 274 int udp_v4_early_demux(struct sk_buff *skb); 275 275 bool udp_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst); 276 - int udp_get_port(struct sock *sk, unsigned short snum, 277 - int (*saddr_cmp)(const struct sock *, 278 - const struct sock *)); 279 276 int udp_err(struct sk_buff *, u32); 280 277 int udp_abort(struct sock *sk, int err); 281 278 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
-2
include/net/udplite.h
··· 81 81 } 82 82 83 83 void udplite4_register(void); 84 - int udplite_get_port(struct sock *sk, unsigned short snum, 85 - int (*scmp)(const struct sock *, const struct sock *)); 86 84 #endif /* _UDPLITE_H */