From: Adam C. Emerson Date: Fri, 17 Jul 2020 06:15:01 +0000 (-0400) Subject: rgw: Remove unused lambda capture X-Git-Tag: v16.1.0~1661^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fb8bc0e9353d10e0b991ee1f798698f487cc87bb;p=ceph.git rgw: Remove unused lambda capture Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index b3ccc97a809dc..6d5137bfaba00 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -1448,7 +1448,7 @@ int RGWLC::bucket_lc_process(string& shard_id, LCWorker* worker, } auto stack_guard = make_scope_guard( - [&worker, &bucket_info] + [&worker] { worker->workpool->drain(); }