]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/cache: Remove unused lambda capture
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 1 Nov 2019 20:48:34 +0000 (16:48 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Sat, 2 Nov 2019 05:37:09 +0000 (01:37 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/librbd/cache/ParentCacheObjectDispatch.cc

index 23edaa0576a6afec62b71600263a9fab7d286bea..b405989dc1130f83173663d4a27683dc7cc1cd62 100644 (file)
@@ -107,7 +107,7 @@ bool ParentCacheObjectDispatch<I>::read(
 
   CacheGenContextURef ctx = make_gen_lambda_context<ObjectCacheRequest*,
                                      std::function<void(ObjectCacheRequest*)>>
-   ([this, snap_id, read_data, dispatch_result, on_dispatched,
+   ([this, read_data, dispatch_result, on_dispatched,
       oid, object_off, object_len](ObjectCacheRequest* ack) {
      handle_read_cache(ack, object_off, object_len, read_data,
                        dispatch_result, on_dispatched);