Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.

This commit is contained in:
Gregory Nutt
2016-12-03 16:28:19 -06:00
parent bdb8275824
commit 7467329a98
180 changed files with 1481 additions and 5157 deletions
+3 -4
View File
@@ -76,11 +76,10 @@
FAR struct net_driver_s *netdev_default(void)
{
FAR struct net_driver_s *dev;
net_lock_t save;
/* Examine each registered network device */
save = net_lock();
net_lock();
for (dev = g_netdevices; dev; dev = dev->flink)
{
/* Is the interface in the "up" state? */
@@ -91,12 +90,12 @@ FAR struct net_driver_s *netdev_default(void)
* state.
*/
net_unlock(save);
net_unlock();
return dev;
}
}
net_unlock(save);
net_unlock();
return NULL;
}