|  | 
lvs-devel
 | 
| To: | <wensong@xxxxxxxxxxxx>, <horms@xxxxxxxxxxxx>, <ja@xxxxxx>, <pablo@xxxxxxxxxxxxx>, <kadlec@xxxxxxxxxxxxx>, <fw@xxxxxxxxx>, <davem@xxxxxxxxxxxxx>, <kuba@xxxxxxxxxx> | 
|---|---|
| Subject: | [PATCH net-next] ipvs: Remove unused macros | 
| Cc: | <netdev@xxxxxxxxxxxxxxx>, <lvs-devel@xxxxxxxxxxxxxxx>, <netfilter-devel@xxxxxxxxxxxxxxx>, <coreteam@xxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, YueHaibing <yuehaibing@xxxxxxxxxx> | 
| From: | YueHaibing <yuehaibing@xxxxxxxxxx> | 
| Date: | Fri, 18 Sep 2020 21:16:56 +0800 | 
| They are not used since commit e4ff67513096 ("ipvs: add
sync_maxlen parameter for the sync daemon")
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
 net/netfilter/ipvs/ip_vs_sync.c | 3 ---
 1 file changed, 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;
-- 
2.17.1
 | 
| <Prev in Thread] | Current Thread | [Next in Thread> | 
|---|---|---|
| 
 | ||
| Previous by Date: | [Spam] We are still waiting for your email..., piyin . crhe | 
|---|---|
| Next by Date: | Re: [PATCH net-next] ipvs: Remove unused macros, Simon Horman | 
| Previous by Thread: | [Spam] We are still waiting for your email..., piyin . crhe | 
| Next by Thread: | Re: [PATCH net-next] ipvs: Remove unused macros, Simon Horman | 
| Indexes: | [Date] [Thread] [Top] [All Lists] |