提交 03e3da22 编写于 作者: M Michal Privoznik

network: Don't unlock non-locked network driver

In dd7bfb2c I've removed locking of the network driver upon
it's allocation. However, I forgot to remove one location of the
driver unlock.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 fbec5b94
......@@ -718,8 +718,6 @@ networkStateInitialize(bool privileged,
return ret;
error:
if (network_driver)
networkDriverUnlock(network_driver);
networkStateCleanup();
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册