rbd: Remove unused capture

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
This commit is contained in:
Adam C. Emerson 2019-05-02 12:42:27 -04:00 committed by Kefu Chai
parent d68b5e015c
commit 975fafed35

View File

@ -146,7 +146,7 @@ void SimpleSchedulerObjectDispatch<I>::ObjectRequests::dispatch_delayed_requests
auto &merged_requests = it.second;
auto ctx = new FunctionContext(
[this, requests=std::move(merged_requests.requests), latency_stats,
[requests=std::move(merged_requests.requests), latency_stats,
latency_stats_lock, start_time=ceph_clock_now()](int r) {
if (latency_stats) {
Mutex::Locker locker(*latency_stats_lock);