From: Mykola Golub Date: Fri, 16 Dec 2022 09:21:58 +0000 (+0000) Subject: mgr: drop redundant release-acquire gil X-Git-Tag: v18.1.0~330^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1e81118e328eddd270911cbfe3dab721cc0b554e;p=ceph-ci.git mgr: drop redundant release-acquire gil Signed-off-by: Mykola Golub --- diff --git a/src/mgr/ActivePyModules.cc b/src/mgr/ActivePyModules.cc index 58c3d9ee4d6..5fe5ceeb9b4 100644 --- a/src/mgr/ActivePyModules.cc +++ b/src/mgr/ActivePyModules.cc @@ -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 {