diff --git a/net/pkt/pkt_conn.c b/net/pkt/pkt_conn.c index 95b08235f9..13f5c92dfe 100644 --- a/net/pkt/pkt_conn.c +++ b/net/pkt/pkt_conn.c @@ -1,7 +1,7 @@ /**************************************************************************** * net/pkt/pkt_conn.c * - * Copyright (C) 2014, 2016 Gregory Nutt. All rights reserved. + * Copyright (C) 2014, 2016-2017 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Large parts of this file were leveraged from uIP logic: @@ -43,13 +43,13 @@ #include #if defined(CONFIG_NET) && defined(CONFIG_NET_PKT) -#include #include #include #include #include +#include #include #include #include diff --git a/net/pkt/pkt_finddev.c b/net/pkt/pkt_finddev.c index 69f53ec2cf..a3f0c592e2 100644 --- a/net/pkt/pkt_finddev.c +++ b/net/pkt/pkt_finddev.c @@ -65,8 +65,6 @@ FAR struct net_driver_s *pkt_find_device(FAR struct pkt_conn_s *conn) { - FAR struct net_driver_s *dev; - /* REVISIT: This is bogus. A better network device lookup is needed. */ return netdev_findbyname("eth0");