Update snapshot(2017-10-11)
[platform/upstream/iotivity.git] / resource / provisioning / src / OCProvisioningManager.cpp
index 3c18238..b05bc2a 100644 (file)
@@ -802,20 +802,7 @@ namespace OC
             return OC_STACK_INVALID_PARAM;
         }
 
-        OCStackResult result;
-        auto cLock = OCPlatform_impl::Instance().csdkLock().lock();
-
-        if (cLock)
-        {
-            std::lock_guard<std::recursive_mutex> lock(*cLock);
-            result = SetDeviceIdSeed(seed, seedSize);
-        }
-        else
-        {
-            oclog() <<"Mutex not found";
-            result = OC_STACK_ERROR;
-        }
-        return result;
+        return SetDeviceIdSeed(seed, seedSize);
     }
 
     int OCSecure::peerCertCallbackWrapper(void *ctx, const mbedtls_x509_crt *cert,