From 2a29fe02237a3ad1b447201316dfb86e02d57065 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 25 Jun 2018 14:15:03 -0600 Subject: [PATCH] net/netdev: Fix.. Too many calls to net_unlock() --- net/netdev/netdev_register.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/netdev/netdev_register.c b/net/netdev/netdev_register.c index af95263210..408491413f 100644 --- a/net/netdev/netdev_register.c +++ b/net/netdev/netdev_register.c @@ -212,7 +212,6 @@ static int get_ifindex(void) * mean no-index in the POSIX standards. */ - net_unlock(); return ndx + 1; } }