mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
net/mld: remove duplicate net_unlock in mld_gendog_work
Remove a redundant net_unlock() call in the early return path of mld_gendog_work(). The network lock is already released at the common exit path, causing a double-unlock. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
6cba2674fa
commit
39639282d1
1 changed files with 0 additions and 1 deletions
|
|
@ -128,7 +128,6 @@ static void mld_gendog_work(FAR void *arg)
|
|||
*/
|
||||
|
||||
fwarn("WARNING: No device associated with ifindex=%d\n", ifindex);
|
||||
net_unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue