mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
tcp/ipv4: remove AF_INET_FAMILY
After commit 079096f103
("tcp/dccp: install syn_recv requests into ehash table")
the macro isn't used anymore. remove it.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
339821f7d2
commit
aeaec7bceb
@ -610,12 +610,6 @@ no_route:
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(inet_csk_route_child_sock);
|
||||
|
||||
#if IS_ENABLED(CONFIG_IPV6)
|
||||
#define AF_INET_FAMILY(fam) ((fam) == AF_INET)
|
||||
#else
|
||||
#define AF_INET_FAMILY(fam) true
|
||||
#endif
|
||||
|
||||
/* Decide when to expire the request and when to resend SYN-ACK */
|
||||
static inline void syn_ack_recalc(struct request_sock *req, const int thresh,
|
||||
const int max_retries,
|
||||
|
Loading…
Reference in New Issue
Block a user