Date: Fri, 21 May 2021 06:01:59 GMT From: Wojciech Macek <wma@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: eedbbec3fd62 - main - ip_mroute: remove unused declarations Message-ID: <202105210601.14L61xQE002792@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wma: URL: https://cgit.FreeBSD.org/src/commit/?id=eedbbec3fd624aca13649351ca1526036d10d855 commit eedbbec3fd624aca13649351ca1526036d10d855 Author: Wojciech Macek <wma@FreeBSD.org> AuthorDate: 2021-05-21 06:01:26 +0000 Commit: Wojciech Macek <wma@FreeBSD.org> CommitDate: 2021-05-21 06:01:26 +0000 ip_mroute: remove unused declarations fix build for non-x86 targets --- sys/netinet/ip_mroute.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 0cb980b7247e..5414b0e3da0e 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -126,9 +126,6 @@ __FBSDID("$FreeBSD$"); #define VIFI_INVALID ((vifi_t) -1) -VNET_DEFINE_STATIC(uint32_t, last_tv_sec); /* last time we processed this */ -#define V_last_tv_sec VNET(last_tv_sec) - static MALLOC_DEFINE(M_MRTABLE, "mroutetbl", "multicast forwarding cache"); /* @@ -310,7 +307,6 @@ static int add_bw_upcall(struct bw_upcall *); static int add_mfc(struct mfcctl2 *); static int add_vif(struct vifctl *); static void bw_meter_prepare_upcall(struct bw_meter *, struct timeval *); -static void bw_meter_process(void); static void bw_meter_geq_receive_packet(struct bw_meter *, int, struct timeval *); static void bw_upcalls_send(void); @@ -338,13 +334,11 @@ static int pim_register_send_rp(struct ip *, struct vif *, struct mbuf *, struct mfc *); static int pim_register_send_upcall(struct ip *, struct vif *, struct mbuf *, struct mfc *); -static void schedule_bw_meter(struct bw_meter *, struct timeval *); static void send_packet(struct vif *, struct mbuf *); static int set_api_config(uint32_t *); static int set_assert(int); static int socket_send(struct socket *, struct mbuf *, struct sockaddr_in *); -static void unschedule_bw_meter(struct bw_meter *); /* * Kernel multicast forwarding API capabilities and setup.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105210601.14L61xQE002792>