projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8b904
)
ipvs: Remove unused macros
author
YueHaibing
<yuehaibing@huawei.com>
Fri, 18 Sep 2020 13:16:56 +0000
(21:16 +0800)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Mon, 21 Sep 2020 23:36:20 +0000
(
01:36
+0200)
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>
net/netfilter/ipvs/ip_vs_sync.c
patch
|
blob
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_sync.c
b/net/netfilter/ipvs/ip_vs_sync.c
index
2b8abbf
..
16b4806
100644
(file)
--- 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;