Skip to content

Commit acb7fab

Browse files
committed
Remove unneeded lock
1 parent 8cd0873 commit acb7fab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

offload/plugins-nextgen/common/include/PluginInterface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,8 +1593,6 @@ template <typename ResourceRef> class GenericDeviceResourceManagerTy {
15931593
/// Deinitialize the resource pool and delete all resources. This function
15941594
/// must be called before the destructor.
15951595
virtual Error deinit() {
1596-
const std::lock_guard<std::mutex> Lock(Mutex);
1597-
15981596
if (NextAvailable)
15991597
DP("Missing %d resources to be returned\n", NextAvailable);
16001598

0 commit comments

Comments
 (0)