net/netdev: Fix.. Too many calls to net_unlock()

This commit is contained in:
Gregory Nutt 2018-06-25 14:15:03 -06:00
parent c4de9f16e4
commit 2a29fe0223
1 changed files with 0 additions and 1 deletions

View File

@ -212,7 +212,6 @@ static int get_ifindex(void)
* mean no-index in the POSIX standards.
*/
net_unlock();
return ndx + 1;
}
}