net/netdev: Fix.. Too many calls to net_unlock()
This commit is contained in:
parent
c4de9f16e4
commit
2a29fe0223
|
@ -212,7 +212,6 @@ static int get_ifindex(void)
|
|||
* mean no-index in the POSIX standards.
|
||||
*/
|
||||
|
||||
net_unlock();
|
||||
return ndx + 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue