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)
             ^~~~~~~~~~~~~~~~~
This commit is contained in:
Gregory Nutt 2020-03-08 07:05:10 -06:00 committed by Xiang Xiao
parent 62c2b4aac7
commit 0efed95115

View file

@ -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
*