net/vdev_netvsc: get rid of unnecessary debug log message
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 20 Nov 2018 21:13:51 +0000 (13:13 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 16:31:06 +0000 (16:31 +0000)
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 <stephen@networkplumber.org>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/vdev_netvsc/vdev_netvsc.c

index 16303ef..ba63fac 100644 (file)
@@ -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);