STM32 F7: Remove duplicate call to pkt_input from Ethernet driver.

This commit is contained in:
Gregory Nutt 2016-08-30 08:04:18 -06:00
parent 9c3bade7b4
commit bef7f5be23

View File

@ -1788,12 +1788,6 @@ static void stm32_receive(struct stm32_ethmac_s *priv)
continue;
}
#ifdef CONFIG_NET_PKT
/* When packet sockets are enabled, feed the frame into the packet tap */
pkt_input(&priv->dev);
#endif
/* We only accept IP packets of the configured type and ARP packets */
#ifdef CONFIG_NET_IPv4