From: Geliang Tang Date: Mon, 15 Jun 2020 08:28:03 +0000 (+0800) Subject: mptcp: drop MPTCP_PM_MAX_ADDR X-Git-Tag: v5.8-rc2~26^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c06c1f87b66e74c29ecc68020e0312c565deebe0;p=thirdparty%2Fkernel%2Flinux.git mptcp: drop MPTCP_PM_MAX_ADDR We have defined MPTCP_PM_ADDR_MAX in pm_netlink.c, so drop this duplicate macro. Fixes: 1b1c7a0ef7f3 ("mptcp: Add path manager interface") Signed-off-by: Geliang Tang Reviewed-by: Matthieu Baerts Signed-off-by: David S. Miller --- diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 809687d3f4100..70ed698bd2067 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -135,8 +135,6 @@ static inline __be32 mptcp_option(u8 subopt, u8 len, u8 nib, u8 field) ((nib & 0xF) << 8) | field); } -#define MPTCP_PM_MAX_ADDR 4 - struct mptcp_addr_info { sa_family_t family; __be16 port;