From fec79394f38e86280694e2bee422f403085be8ab Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 20 Apr 2018 06:57:00 -0600 Subject: [PATCH] Some trivial, cosmetic changes from review of last PR. --- drivers/net/tun.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 0903f296eb..85d0919188 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -671,10 +671,8 @@ static void tun_net_receive_tap(FAR struct tun_device_s *priv) if (ret == OK) { - if (priv->dev.d_len > 0) { - /* Update the Ethernet header with the correct MAC address */ #ifdef CONFIG_NET_IPv4