From 0efed95115e12c6ddc4bc1fa29deaa88bbbd76c3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 8 Mar 2020 07:05:10 -0600 Subject: [PATCH] drivers/net/tun.c: Eliminate unused function. Eliminated unused function tun_ipv6multicast(). This eliminates a warning from the build test: net/tun.c:1061:13: warning: 'tun_ipv6multicast' defined but not used [-Wunused-function] static void tun_ipv6multicast(FAR struct tun_device_s *priv) ^~~~~~~~~~~~~~~~~ --- drivers/net/tun.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index c31c7a9004..005c35853b 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1041,28 +1041,6 @@ static int tun_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) } #endif -/**************************************************************************** - * Name: tun_ipv6multicast - * - * Description: - * Configure the IPv6 multicast MAC address. - * - * Input Parameters: - * priv - A reference to the private driver state structure - * - * Returned Value: - * OK on success; Negated errno on failure. - * - * Assumptions: - * - ****************************************************************************/ - -#ifdef CONFIG_NET_ICMPv6 -static void tun_ipv6multicast(FAR struct tun_device_s *priv) -{ -} -#endif /* CONFIG_NET_ICMPv6 */ - /**************************************************************************** * Name: tun_dev_init *