]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: Remove unused lambda capture
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 28 Feb 2019 17:33:53 +0000 (12:33 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 15 Mar 2019 18:52:47 +0000 (14:52 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/mgr/ActivePyModules.cc

index 9e32dce58cac9200c47e77bc1f1a0636960c018e..0f3f508eb6fec69e4c78094fe9030c9565429e32 100644 (file)
@@ -327,7 +327,7 @@ PyObject *ActivePyModules::get_python(const std::string &what)
     return f.get();
   } else if (what == "df") {
     cluster_state.with_osdmap_and_pgmap(
-      [this, &f, &tstate](
+      [&f, &tstate](
        const OSDMap& osd_map,
        const PGMap &pg_map) {
        PyEval_RestoreThread(tstate);