net: remove legacy in_addmulti()
authorKristof Provost <kp@FreeBSD.org>
Tue, 23 Feb 2021 19:21:19 +0000 (20:21 +0100)
committerKristof Provost <kp@FreeBSD.org>
Thu, 25 Feb 2021 09:13:52 +0000 (10:13 +0100)
commitf3245be3499b60e790f59f84ebe24f9cc91dd982
treeccd1629e00c65228778ca3e40250540e9f307114
parentc861373bdff90d8167a0d998899ca718ccdb541b
net: remove legacy in_addmulti()

Despite the comment to the contrary neither pf nor carp use
in_addmulti(). Nothing does, so get rid of it.

Carp stopped using it in 08b68b0e4c6b132127919cfbaf7275c727ca7843
(2011). It's unclear when pf stopped using it, but before
d6d3f01e0a3395c1fae34a3c4be7b051cb2d7581 (2012).

Reviewed by: bz@, melifaro@
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D28918
sys/netinet/in_mcast.c
sys/netinet/in_var.h