From: Stephen Hemminger Date: Tue, 20 Nov 2018 21:13:51 +0000 (-0800) Subject: net/vdev_netvsc: get rid of unnecessary debug log message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=08078fda3c4668a1c156e7c747e7c1455b7ef2ae;p=dpdk.git net/vdev_netvsc: get rid of unnecessary debug log message If vdev_netvsc is run with debug logging enabled, then the log output will fill with: net_vdev_netvsc: interface lo is non-ethernet device Remove the message since it is not useful. Signed-off-by: Stephen Hemminger Acked-by: Matan Azrad --- diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_netvsc/vdev_netvsc.c index 16303ef5ef..ba63fac2a5 100644 --- a/drivers/net/vdev_netvsc/vdev_netvsc.c +++ b/drivers/net/vdev_netvsc/vdev_netvsc.c @@ -191,11 +191,8 @@ vdev_netvsc_foreach_iface(int (*func)(const struct if_nameindex *iface, req.ifr_name, rte_strerror(errno)); continue; } - if (req.ifr_hwaddr.sa_family != ARPHRD_ETHER) { - DRV_LOG(DEBUG, "interface %s is non-ethernet device", - req.ifr_name); + if (req.ifr_hwaddr.sa_family != ARPHRD_ETHER) continue; - } memcpy(eth_addr.addr_bytes, req.ifr_hwaddr.sa_data, RTE_DIM(eth_addr.addr_bytes)); va_start(ap, is_netvsc);