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
+2 -3
View File
@@ -72,12 +72,11 @@
int netdev_count(void)
{
struct net_driver_s *dev;
net_lock_t save;
int ndev;
save = net_lock();
net_lock();
for (dev = g_netdevices, ndev = 0; dev; dev = dev->flink, ndev++);
net_unlock(save);
net_unlock();
return ndev;
}