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:
parent
62c2b4aac7
commit
0efed95115
@ -1041,28 +1041,6 @@ static int tun_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
|
|||||||
}
|
}
|
||||||
#endif
|
#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
|
* Name: tun_dev_init
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user