]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr: drop redundant release-acquire gil
authorMykola Golub <mgolub@suse.com>
Fri, 16 Dec 2022 09:21:58 +0000 (09:21 +0000)
committerMykola Golub <mgolub@suse.com>
Fri, 16 Dec 2022 09:23:25 +0000 (09:23 +0000)
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/mgr/ActivePyModules.cc

index 58c3d9ee4d6f4d9fc062150f645fa518313e9048..5fe5ceeb9b43b94dcfd4ace16b9bbb91b5f4ba72 100644 (file)
@@ -512,8 +512,6 @@ PyObject *ActivePyModules::get_python(const std::string &what)
     derr << "Python module requested unknown data '" << what << "'" << dendl;
     Py_RETURN_NONE;
   }
-  without_gil_t no_gil;
-  no_gil.acquire_gil();
   if(ttl_seconds) {
     return jf.get();
   } else {