Skip to content

Commit

Permalink
net/netdev: Fix.. Too many calls to net_unlock()
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Jun 25, 2018
1 parent c4de9f1 commit 2a29fe0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/netdev/netdev_register.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ static int get_ifindex(void)
* mean no-index in the POSIX standards.
*/

net_unlock();
return ndx + 1;
}
}
Expand Down

0 comments on commit 2a29fe0

Please sign in to comment.