mptcp: drop MPTCP_PM_MAX_ADDR
authorGeliang Tang <geliangtang@gmail.com>
Mon, 15 Jun 2020 08:28:03 +0000 (16:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2020 20:01:17 +0000 (13:01 -0700)
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 <geliangtang@gmail.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.h

index 809687d..70ed698 100644 (file)
@@ -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;