Message ID | 1582445143-12129-1-git-send-email-lirongqing@baidu.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | [net-next] igmp: remove unused macro IGMP_Vx_UNSOLICITED_REPORT_INTERVAL | expand |
From: Li RongQing <lirongqing@baidu.com> Date: Sun, 23 Feb 2020 16:05:43 +0800 > After commit 2690048c01f3 ("net: igmp: Allow user-space > configuration of igmp unsolicited report interval"), they > are not used now > > Signed-off-by: Li RongQing <lirongqing@baidu.com> Applied, thanks.
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index 3b9c7a2725a9..47f0502b2101 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -107,8 +107,6 @@ #ifdef CONFIG_IP_MULTICAST /* Parameter names and values are taken from igmp-v2-06 draft */ -#define IGMP_V2_UNSOLICITED_REPORT_INTERVAL (10*HZ) -#define IGMP_V3_UNSOLICITED_REPORT_INTERVAL (1*HZ) #define IGMP_QUERY_INTERVAL (125*HZ) #define IGMP_QUERY_RESPONSE_INTERVAL (10*HZ)
After commit 2690048c01f3 ("net: igmp: Allow user-space configuration of igmp unsolicited report interval"), they are not used now Signed-off-by: Li RongQing <lirongqing@baidu.com> --- net/ipv4/igmp.c | 2 -- 1 file changed, 2 deletions(-)