diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-18 21:16:56 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-09-22 01:36:20 +0200 |
commit | 18cd9b00fffe416f8c17990519dd80f05b312617 (patch) | |
tree | d37256271d033d127c0662c8a2b50b5f573936af /net/netfilter/ipvs | |
parent | 8a8b9047a8975ad4bdee34b7affad66edfbe626d (diff) | |
download | linux-stable-18cd9b00fffe416f8c17990519dd80f05b312617.tar.gz linux-stable-18cd9b00fffe416f8c17990519dd80f05b312617.tar.bz2 linux-stable-18cd9b00fffe416f8c17990519dd80f05b312617.zip |
ipvs: Remove unused macros
They are not used since commit e4ff67513096 ("ipvs: add
sync_maxlen parameter for the sync daemon")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipvs')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_sync.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c index 2b8abbfe018c..16b48064f715 100644 --- a/net/netfilter/ipvs/ip_vs_sync.c +++ b/net/netfilter/ipvs/ip_vs_sync.c @@ -242,9 +242,6 @@ struct ip_vs_sync_thread_data { | IPVS Sync Connection (1) | */ -#define SYNC_MESG_HEADER_LEN 4 -#define MAX_CONNS_PER_SYNCBUFF 255 /* nr_conns in ip_vs_sync_mesg is 8 bit */ - /* Version 0 header */ struct ip_vs_sync_mesg_v0 { __u8 nr_conns; |